# Perspective: Any easy way to rearrange order of property array elements?

**URL:** <https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 29, 2019, 3:04am UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959 "2019-12-29T03:04:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 29, 2019, 3:04am UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/1 "2019-12-29T03:04:37Z")

</div>

Is there an easy way to reorder array elements in a component’s properties?

E.g. reordering the columns of a table. I know I can copy the property, paste into notepad, then cut and paste to move around, but this seems like too much hard work for such a simple task. Wondering if there’s an easier way?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4c67dbe3e923a7bb7dd868227ae7c6251e125911.png)

---

<div class="post-metadata">

**Author:** ![Phil\_B](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@Phil\_B](https://forum.inductiveautomation.com/u/Phil_B)\
**Post date:** [January 2, 2020, 9:14pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/2 "2020-01-02T21:14:56Z")

</div>

for your table example you can create a property and have a binding to get the table data as a dataset then use a transform to convert to JSON. if i recall correctly the property elements should be in the same order as your JSON dictionary.

---

<div class="post-metadata">

**Author:** ![andrewbrown](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@andrewbrown](https://forum.inductiveautomation.com/u/andrewbrown)\
**Post date:** [January 3, 2020, 5:26am UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/3 "2020-01-03T05:26:43Z")

</div>

> [@nminchin](#):
>
> Wondering if there’s an easier way?

You can actually drag and drop these array elements.

To drag and drop these you can click to the right hand side of the plus icon and move them up and down.

 ![19%20pm](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/17b470869ff91706af79f386dacd668bb371fb9a.png)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 3, 2020, 5:48am UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/4 "2020-01-03T05:48:31Z")

</div>

Awesome, I didn’t know you could do this already. I don’t see the plus icon in the version I’m using (8.0.5), however I can still move the elements around by clicking just the right of the end curly brace }. It’s a bit fiddley sometimes, but it works 🙂 Thanks  
It would be better if the icon was more familiar, like the stacked dashes on their side (mimicking a rubber grip pad with raised nodules), courtesy Google Keep:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/190bdaddaa2b3256ab0147656ff3f75cf218b4b9.png)

---

<div class="post-metadata">

**Author:** ![tashby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tashby/32/67562_2.png) [@tashby](https://forum.inductiveautomation.com/u/tashby)\
**Post date:** [February 2, 2021, 4:23pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/5 "2021-02-02T16:23:41Z")

</div>

I’m able to drag properties around as you mention. However, after closing and re-opening the view, the properties are back in the original order. any ideas how to modify this to stay?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 2, 2021, 4:26pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/6 "2021-02-02T16:26:41Z")

</div>

The array indices don’t get updated until you deselect/reselect the component (or save the view maybe), but what _doesn’t_ get moved are the bindings that are attached to the objects under the array elements which makes this whole feature useless imnsho… Could this be what you’re seeing instead?

---

<div class="post-metadata">

**Author:** ![tashby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tashby/32/67562_2.png) [@tashby](https://forum.inductiveautomation.com/u/tashby)\
**Post date:** [February 2, 2021, 4:40pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/7 "2021-02-02T16:40:05Z")

</div>

I’ve tried both and still doesn’t seem to work. I don’t want the underlying properties to change, just the order of the properties (to make it consistent with other similar views) Sometimes things get added as an afterthought.

 ![re-order properties not working](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/b/bb207d800f7cca9c6f7900334a0345df86477e53.gif)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 2, 2021, 5:06pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/8 "2021-02-02T17:06:39Z")

</div>

In the video you’re dragging keys of an object. Object key ordering is explicitly non-deterministic - arrays are the only ‘ordered’ json structure.

---

<div class="post-metadata">

**Author:** ![tashby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tashby/32/67562_2.png) [@tashby](https://forum.inductiveautomation.com/u/tashby)\
**Post date:** [February 2, 2021, 5:09pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/9 "2021-02-02T17:09:13Z")

</div>

So then there is no way to change the ordering after the fact?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 2, 2021, 5:11pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/10 "2021-02-02T17:11:07Z")

</div>

Correct. Despite object keys not being ordered for any logical/structural purpose, they _are_ saved in a particular order for the sake of minimizing file conflicts between different saved versions of a view.

---

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [October 10, 2025, 6:24pm UTC](https://forum.inductiveautomation.com/t/perspective-any-easy-way-to-rearrange-order-of-property-array-elements/30959/11 "2025-10-10T18:24:07Z")

</div>

I didn’t know this worked, thank you!
