# How to sort Alarm Status Table by purely 'Active Time' only?

**URL:** <https://forum.inductiveautomation.com/t/how-to-sort-alarm-status-table-by-purely-active-time-only/41285>\
**Category:** Ignition\
**Created:** [December 8, 2020, 2:31am UTC](https://forum.inductiveautomation.com/t/how-to-sort-alarm-status-table-by-purely-active-time-only/41285 "2020-12-08T02:31:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yin.cheng](https://avatars.discourse-cdn.com/v4/letter/y/85f322/32.png) [@yin.cheng](https://forum.inductiveautomation.com/u/yin.cheng)\
**Post date:** [December 8, 2020, 2:31am UTC](https://forum.inductiveautomation.com/t/how-to-sort-alarm-status-table-by-purely-active-time-only/41285/1 "2020-12-08T02:31:00Z")

</div>

Hi All, i'm using Edge 8.0.16  
In my configuration, i have put the Sort Order to 'Time' with Sort Oldest First being disabled.  
However, the alarms are still not listed by the active time, which i am confused.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/9/e96535ec4ba1b6349aa1465732f3d52e4ee82123.png)

I saw this thread below, but i do not understand why a script is required as there was already a provided function available? (the sort order)

> [@Alarm status sort by time is not the same as active time?](http://forum.inductiveautomation.com/t/alarm-status-sort-by-time-is-not-the-same-as-active-time/16808):
>
> I have an alarm status table set to sort by time, but as you can see there are some entries which are out of order: If I click on the “Active time” in the header bar twice, I get the sort order I expected when sorting by time: How can I make the alarm status table sort by active time when it is displayed?

In the designer runtime, i have clicked the 'Active Time' twice, and there would be a down arrow and the number 1, which would then work as per expected.  
When i save it and publish to actual runtime, the behavior is normalized back again.

Is there anyway to keep this above mentioned behavior to the runtime?  
Or how could i configure such that the alarms will be listed out accordingly based on latest Active Time only?

Thank you all very much in advance!!
