Solutionunvalidated
allTickets.sort(Comparator.comparing(Ticket::getSomeField));. Tension: Apply pagination on the sorted list. Outcome: return new PageImpl<>(allTickets.subList(start, end), pageable, allTickets.size()).
6615fd43-04fe-4ea4-8f1c-1e3e4e707164
allTickets.sort(Comparator.comparing(Ticket::getSomeField));. Tension: Apply pagination on the sorted list. Outcome: return new PageImpl<>(allTickets.subList(start, end), pageable, allTickets.size()).