CompararatorX<T> extension

on

Methods

compose(Comparator<T> then) Comparator<T>
return a new comparator, that sorts the items first by the criteria of this comparator, then by the criteria of the given comparator
reverse() Comparator<T>
reverse the sort order of this comparator