API Reference > presentation-components > Table > PresentationTableDataProvider > sort sort Method Sorts the data in this data provider. sort(columnIndex: number, sortDirection: UiSortDirection): Promise<void> Parameter Type Description columnIndex number Index of the column to sort on. sortDirection UiSortDirection Sorting direction. Returns - Promise<void> Defined in presentation/components/src/table/DataProvider.ts Line 137 Last Updated: 13 June, 2024