This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Chain multiple sorting criteria using thenComparing() to break ties from the primary comparator.
You've completed the free preview. Subscribe to unlock every lesson in every course.