Comparator

A function that returns a negative, zero, or positive number to define relative ordering.