# Perspective Table sortOrder Property

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-sortorder-property/36257>\
**Category:** Ignition Early Access\
**Created:** [July 1, 2020, 5:02pm UTC](https://forum.inductiveautomation.com/t/perspective-table-sortorder-property/36257 "2020-07-01T17:02:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nickbrickner](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@nickbrickner](https://forum.inductiveautomation.com/u/nickbrickner)\
**Post date:** [November 11, 2020, 7:52pm UTC](https://forum.inductiveautomation.com/t/perspective-table-sortorder-property/36257/5 "2020-11-11T19:52:26Z")

</div>

I succeeded in specifying the sort order by adding elements in the “sortOrder” property array, and for each element’s value, I specified the “field” id for each column object – in order of sort priority (e.g. “0:t\_stamp” for highest priority sorting on t\_stamp column of the table, “1:Comments” for 2nd highest priority sorting on Comments column, etc.). The sort direction is selected using the “sort” object-member of each column object within the “columns” table property. The “sort” object-member provides a drop down menu to select between “none”, “ascending”, and “descending”.

This method worked in the designer preview mode, but for some reason, it is not working when I launch the perspective session. Any ideas why this may be?

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-table-sortorder-property/36257)._
