code: function sort(comparator1, comparator2, comparator3) {
      /* jshint validthis:true */
      var _ = this._sortedArray;
  
      if (arguments.length > 0) {
          if (arguments.length > 1) {
              this.comparator = multipleComparators(slice.call(arguments, 0));
          } else {
              this.comparator = comparator1;
          }
          _.reversed = false;
      }
  
  
      _.sort.call(this, this.comparator || defaultComparator);
  }
docs: Works basically like Array.prototype.sort except these enhancements:
  
  - Calling without parameters sorts the array using arr.comparator
  
  - Passing a comparator sets it additionally as arr.comparator which means that all subsequent
  sorts will be done using this comparator.
  
  - You may also provide multiple comparators. If comparator1 returns 0, comparator2 is applied, etc.
  
  @param {Function=} comparator1
  @param {Function=} comparator2
  @param {Function=} comparator3