Hi all,
I've been looking for a way to extract the sorting from the ^CacheTemp.zenData global that contain the tablePane snapshot data in order to use it on a report following the current UI sorting criteria.
I could see that if the column is sorted by one column, new entries with this structure are created:
^CacheTemp.zenData(<sessionId>,<snapShotId>,<tablePaneId>,"index",<columnId>,<value>,<dataId>)=""
These are created the first time that the sort criteria is applied (asc) and has the same amount of entries as the data being displayed.

