This really is an interface so it means that any item can put into practice Comparable. We can sort any item that implements Similar making use of Collections.sort(); In order to see the code here in action, feel free to test it out?on GitHub. You can clone the URI in http://java-8-lambda-stream-sort08764.loginblogin.com/16298321/java-8-lambda-stream-sorted-an-overview