# Filter data on power table

**URL:** <https://forum.inductiveautomation.com/t/filter-data-on-power-table/82933>\
**Category:** Ignition\
**Created:** [December 9, 2023, 3:38pm UTC](https://forum.inductiveautomation.com/t/filter-data-on-power-table/82933 "2023-12-09T15:38:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [December 9, 2023, 4:23pm UTC](https://forum.inductiveautomation.com/t/filter-data-on-power-table/82933/3 "2023-12-09T16:23:17Z")

</div>

> [@sebastien\_ng](#):
>
> I would like sort my table by `EventTime`.

If you want to get the data sorted using a script, you can get it this way:

```auto
table.data = system.dataset.sort(results.dataset, 'EventTime')

```

> [@sebastien\_ng](#):
>
> I would also like the script to run in real time

I like this approach:

> [@How to get active alarm count of all tags in a folder?](https://forum.inductiveautomation.com/t/how-to-get-active-alarm-count-of-all-tags-in-a-folder/80484/7):
>
> It is safe to call from an asynchronous function, triggered from a client timer event, and writing results to a client tag. Everything else in the Vision client should reference the client tag.

---

_[View the full topic](https://forum.inductiveautomation.com/t/filter-data-on-power-table/82933)._
