# 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:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 9, 2023, 3:56pm UTC](https://forum.inductiveautomation.com/t/filter-data-on-power-table/82933/2 "2023-12-09T15:56:59Z")

</div>

> [@sebastien\_ng](#):
>
> `system.alarm.queryStatus`

You are running this very heavyweight function in a UI event routine. Expect client UI freezes.

Use an asynchronous thread to run this, and post the results back to the UI with `invokeLater()`. (Lots of discussions here on these techniques. Use them before you suffer for it.)

> [@sebastien\_ng](#):
>
> is a function that I can applied/use to sort

Consider using my [orderBy()](https://www.automation-pros.com/toolkit/doc/iteration.html#orderby) expression function in a binding. From my [Integration Toolkit module](https://forum.inductiveautomation.com/t/automation-professionals-integration-toolkit-module/74934).

---

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