myActionsDashboardDtoList.sort (Collections.reverseOrder(Comparator.comparing (MyActionsDashboardDto::getDateIn)));
Comparator sortingByName = (Student s1, Student s2)->s1.getName().compareTo(s2.getName());