docs: function (key1, key2) {
      var self = this;
      if (key1.length !== self._sortSpecParts.length ||
          key2.length !== self._sortSpecParts.length) {
        throw Error("Key has wrong length");
      }
  
      return self._keyComparator(key1, key2);
    }