Creates a comparator that compares by chained comparison criteria, in order.
type of the item
the comparators
Creates a comparator that compares by chained comparison criteria, in order.