Returns a comparator method used for Array.prototype.sort(comparator);