collections/sorting/ComparatorBuilder.js
/**
		 * Adds a new comparator to the list of comparators to use.
		 *
		 * @public
		 * @param {Function} comparator - The next comparator function.
		 * @param {Boolean=} invert - Indicates if the comparator should sort in descending order.
		 * @returns {ComparatorBuilder}
		 */
Adds a new comparator to the list of comparators to use.
@public
@param {Function} comparator - The next comparator function.
@param {Boolean=} invert - Indicates if the comparator should sort in descending order.
Adds a new comparator to the list of comparators to use . @public @param { Function } comparator - The next comparator function . @param { Boolean = } invert - Indicates if the comparator should sort in descending order .
thenBy(comparator, invert) {
			assert.argumentIsRequired(comparator, 'comparator', Function);
			assert.argumentIsOptional(invert, 'invert', Boolean);
			return new ComparatorBuilder(comparator, invert, this);
		}
thenBy ( comparator , invert ) { assert . argumentIsRequired ( comparator , 'comparator' , Function ) ; assert . argumentIsOptional ( invert , 'invert' , Boolean ) ; return new ComparatorBuilder ( comparator , invert , this ) ; }
Adds a new comparator to the list of comparators to use.
Adds a new comparator to the list of comparators to use .