Software Development

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.

Read More...

Software Development

Sort Lists in Java 8 using Comparator

This post demonstrates how to use Java 8 Comparator by examples.

Read More...

Software Development

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.

Read More...