# Sort Order for State in Alarm Status Table

**URL:** <https://forum.inductiveautomation.com/t/sort-order-for-state-in-alarm-status-table/106596>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 22, 2025, 7:59pm UTC](https://forum.inductiveautomation.com/t/sort-order-for-state-in-alarm-status-table/106596 "2025-05-22T19:59:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigByte](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@BigByte](https://forum.inductiveautomation.com/u/BigByte)\
**Post date:** [May 22, 2025, 7:59pm UTC](https://forum.inductiveautomation.com/t/sort-order-for-state-in-alarm-status-table/106596/1 "2025-05-22T19:59:44Z")

</div>

I've got an alarm status table, and I want to sort the alarms by state. I'd like to sort by 1) active/unacked, 2) active/acked, 3) cleared/unacked, 4) cleared/acked. But the default order is a/a, a/u, c/a, c/u.

The only option I can see to change the order of things within a column is ascending/descending, but I want to change what "ascending" means. Is there any way to do this?

Also, I would assume a cleared/acknowledged alarm would be removed from the summary table, but they seem to linger.

---

<div class="post-metadata">

**Author:** ![BigByte](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@BigByte](https://forum.inductiveautomation.com/u/BigByte)\
**Post date:** [May 22, 2025, 8:07pm UTC](https://forum.inductiveautomation.com/t/sort-order-for-state-in-alarm-status-table/106596/2 "2025-05-22T20:07:29Z")

</div>

I guess I can just include the isAcked and isActive columns in the activeSortOrder, even if I don't have them visible in the table

---

<div class="post-metadata">

**Author:** ![BigByte](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@BigByte](https://forum.inductiveautomation.com/u/BigByte)\
**Post date:** [May 22, 2025, 8:12pm UTC](https://forum.inductiveautomation.com/t/sort-order-for-state-in-alarm-status-table/106596/3 "2025-05-22T20:12:13Z")

</div>

Seems like I had to enable the columns in the table to make the sort actually work, but I set the width to 0 to hide them.

---

<div class="post-metadata">

**Author:** ![angus123](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@angus123](https://forum.inductiveautomation.com/u/angus123)\
**Post date:** [February 27, 2026, 9:23pm UTC](https://forum.inductiveautomation.com/t/sort-order-for-state-in-alarm-status-table/106596/4 "2026-02-27T21:23:28Z")

</div>

Confirming that this solution works.

My workflow was: enable the isAcked and isActive columns, set their width to zero, and set the sort order of isAcked to ascending. Then set the activeSortOrder to 0:isActive, 1:isAcked, … etc. example 2: priority, 3: activeTime and so on.
