How to get the index of the the current table sorting in dash-tabulator?

How to get the index of the the current table sorting in dash-tabulator?

Hi,

I took a look at the tabulator documentation for sorting: Sorting Data | Tabulator

When using multiple sorters, the order in the array is the order in which the sort functions will be applied to the data.
table.setSort([
{column:“age”, dir:“asc”}, //sort by this first
{column:“height”, dir:“desc”}, //then sort by this second
]);

I hope that helps.

Best,
Eliza