Course contentsShow
Java
Lesson 1342 of 2,87030. Comparable and ComparatorPro lesson

Chaining with thenComparing() for Secondary Sorts

Chain multiple sorting criteria using thenComparing() to break ties from the primary comparator.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.