Comparator<CommittedChangeList> () { return (o1, o2) -> { int rc = o1.getCommitterName().compareToIgnoreCase(o2.getCommitterName()); if (rc == 0) { return -o1.getCommitDate().compareTo(o2.getCommitDate()); } return rc; }; }