# Flex repeater dynamic rearrange transform

**URL:** <https://forum.inductiveautomation.com/t/flex-repeater-dynamic-rearrange-transform/36877>\
**Category:** Ignition\
**Created:** [July 20, 2020, 7:33pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-dynamic-rearrange-transform/36877 "2020-07-20T19:33:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijustdunnoaname1](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@ijustdunnoaname1](https://forum.inductiveautomation.com/u/ijustdunnoaname1)\
**Post date:** [July 20, 2020, 7:33pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-dynamic-rearrange-transform/36877/1 "2020-07-20T19:33:36Z")

</div>

I have a SQL query returning a list of machines. Within that list, I’m trying to change the order of how they’re displayed on a Flex repeater based on whether the machine is running or stopped.

I’m able to get the flex repeater to display the running status and name of each machine, but I can’t seem to figure out how to dynamically re-order the list of machines based off of the machine’s indirect integer tag (1, running & 0, stopped).
