CompararatorComposeExtensions<T> extension

on

Methods

compose(Comparator<T> then) Comparator<T>

Available on Comparator<T>, provided by the CompararatorComposeExtensions extension

return a new comparator, that sorts the items first by the criteria of this comparator, then by the criteria of the given comparator