try {
List<ShortSection> list = strategy.getAll();
List<Shorts> shortsList = new ArrayList<Shorts>();
for (ShortSection shortSection: list) {
Collections.sort(shortSection.getShorts(), new ShortOrderComparator());
shortsList.addAll(shortSection.getShorts());
}
model.addAttribute("list", list);