When in table view mode, clicking on a column header toggles between sorting the data in ascending and descending order of that column.
If there are multiple columns, is it programatically possible to determine the name of the column by which the table is sorted?