The InvertingComparator class inverts the comparison results of another Comparator object to reverse the resulting sort order.
The class InvertingComparator is a mixin class (it can be inherited by other classes), it subclasses (specializes) The Comparator Class .