This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn how sorted() uses Comparable to sort stream elements in their natural order.
You've completed the free preview. Subscribe to unlock every lesson in every course.