This is often an interface so it implies that any item can carry out Comparable. We should be able to sort any object that implements Similar applying Collections.sort(); If you need to see the code below in motion, feel free to test it out?on GitHub. You'll be able to clone https://java-8-lambda55320.jaiblogs.com/37492624/the-2-minute-rule-for-java-8-lambda-stream-sorted