Guide applies to: modern

    By default, clicking on a column header will run sort on the grid’s store using the column’s getSortParam function, which simply defaults to the column’s dataIndex. You can also provide your own comparator via the sorter config.