This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use Comparator.nullsLast() to wrap a comparator so null values are always sorted after non-null values.
You've completed the free preview. Subscribe to unlock every lesson in every course.