docs: function () {
                  var sortKeyGetter = this.sortKeyGetter;
                  var items = this.items;
                  var itemsLength = items.length;
                  for (var i = 0; i < itemsLength; i++) {
                      var elt = items[i];
                      elt.sortKey = sortKeyGetter.fn.call(sortKeyGetter.scope, elt, sortKeyGetter.args);
                  }
                  items.sort(this.sortOrder == this.SORT_ASCENDING
                          ? __ascendingSortingFunction
                          : __descendingSortingFunction);
                  var curState = this._currentState;
                  curState.sortKeyGetter = this.sortKeyGetter;
                  curState.sortOrder = this.sortOrder;
                  curState.sortName = this.sortName;
                  this._changes = this._changes | this._CHANGED_PAGE_DATA;
              }