I see the Get ( SortState ) function that returns whether the current table is sorted or not. Is there a way to determine the current sort order?
The idea is that I would like to allow the user to click a column header in a list view and sort the list based on that field. This is easy and is working, but I would also like to give a visual cue (a little triangle on that column as is common) as to which column is the current sort in the column header. I can do this by setting a variable each time a column header is clicked, but was hoping there is a way to programmatically determine the sort order.