translateColumnToPhysical = function translateColumnToPhysical(_ref) {
          var visualColumn = _ref.column,
              restOfProperties = (0, _objectWithoutProperties2.default)(_ref, ["column"]);
          return (0, _objectSpread2.default)({
            column: _this5.hot.toPhysicalColumn(visualColumn)
          }, restOfProperties);
        }
Sorts the table by chosen columns and orders.

@param {undefined|Object} sortConfig Single column sort configuration. The configuration object contains `column` and `sortOrder` properties.
First of them contains visual column index, the second one contains sort order (`asc` for ascending, `desc` for descending).

**Note**: Please keep in mind that every call of `sort` function set an entirely new sort order. Previous sort configs aren't preserved.

@example
```js
// sort ascending first visual column
hot.getPlugin('columnSorting').sort({ column: 0, sortOrder: 'asc' });
```

@fires Hooks#beforeColumnSort
@fires Hooks#afterColumnSort