code: function variadicComparator(comparator) {
      return variaderize(function(itemsToCompare) {
        var result;
  
        for (var i = 0; i < itemsToCompare.length - 1; i++) {
          result = comparator(itemsToCompare[i], itemsToCompare[i + 1]);
          if (result === false) return result;
        }
  
        return result;
      });
    }
docs: Turn a binary comparator into a variadic comparator