function compare( a, b ) {
		return comparator( x[a], x[b] );
	}
Compare the elements of the input array.

@private
@param {number} a - first number
@param {number} b - second number
@returns {boolean} comparison result