Сортировать Arraylist of Objects в Java

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