collections/sorting/ComparatorBuilder.js
/**
		 * Flips the order of the comparator (e.g. ascending to descending).
		 *
		 * @public
		 * @returns {ComparatorBuilder}
		 */
Flips the order of the comparator .
Flips the order of the comparator .
invert() {
			let previous;
			if (this._previous) {
				previous = this._previous.invert();
			} else {
				previous = null;
			}
			return new ComparatorBuilder(this._comparator, !this._invert, previous);
		}
invert ( ) { let previous ; if ( this . _previous ) { previous = this . _previous . invert ( ) ; } else { previous = null ; } return new ComparatorBuilder ( this . _comparator , ! this . _invert , previous ) ; }
Flips the order of the comparator (e.g.
Flips the order of the comparator ( e . g .