This article demonstrates how to implement Selection Sort algorithm in Java.
Java – Sort an Enum type by its properties
When we sort an array or collection of Enum types, the sort order is based on the natural order.
Sort Lists in Java 8 using Comparator
This post demonstrates how to use Java 8 Comparator by examples.
Groovy – @Sortable example
Groovy @Sortable is something similar to Java’s Comparable interface.
Java – Sort Objects in Collections
Before Java 8, sorting objects in collections is a bit awkward and verbose in terms of the amount of codes you need to put in. With Java 8, things got easier because of Lambda expressions.