Comparator - Comparable - compareTo

Comparator - Comparable - compareTo

Code for the article about comparing objects in Java using Comparable, Comparator, compareTo(): https://www.happycoders.eu/java/comparator-comparable-compareto/