payal-kothari
10/12/2017 - 2:19 PM

Lamda function

Collections.sort(sList, (p1, p2) ->p2.getDOB().compareTo(p1.getDOB()));