Sortuj tablicę obiektów w Javie

Database.arrayList.sort(Comparator.comparing(MyObject::getStartDate));
Agreeable Armadillo