_onSortByChange(e) {
      const selectedItemIndex = Number(e.detail.item.getAttribute("data-ui5-external-action-item-index"));
      this._recentlyFocused = this._sortBy;
      this._currentSettings.sortBy = this.initSortByItems.map((item, index) => {
        item.selected = index === selectedItemIndex;
        return item;
      });
      // Invalidate
      this._currentSettings = JSON.parse(JSON.stringify(this._currentSettings));
    }
Stores <code>Sort By</code> list as recently used control and its selected item in current state.