Course contentsShow
Java
Lesson 1450 of 2,87032. Streams API: Intermediate OperationsPro lesson

sorted: Natural Ordering Without Arguments

Learn how sorted() uses Comparable to sort stream elements in their natural order.

This lesson is for subscribers

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