MultiColumnSorting feature request

I changed multiColumnSorting.js. In sortByPresetSortStates this:

const getDataForSortedColumns = visualRowIndex =>
  arrayMap(sortedColumnsList, physicalColumn => this.hot.getDataAtCell(visualRowIndex, this.hot.toVisualColumn(physicalColumn)));

became:

const getDataForSortedColumns = visualRowIndex =>
  arrayMap(sortedColumnsList, physicalColumn => 
    this.columnMetaCache.get(physicalColumn).hasOwnProperty('sortOn')
      ? this.hot.getDataAtRowProp(visualRowIndex, this.columnMetaCache.get(physicalColumn).sortOn)
      : this.hot.getDataAtCell(visualRowIndex, this.hot.toVisualColumn(physicalColumn)));

I don’t know if it’s going to be generally applicable, or if it works with your coding style, but it works for me. The syntax is as per the initial post.

I don’t mind if you close this.