# Tree View Component Not Automatically Sort

**URL:** <https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621>\
**Category:** Ignition\
**Created:** [December 27, 2012, 3:01pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621 "2012-12-27T15:01:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [December 27, 2012, 3:01pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/1 "2012-12-27T15:01:46Z")

</div>

It would be nice if the Tree View component did not automatically sort the nodes. That way users could sort the dataset how they wanted it and then it would show up that way in the Tree View. Perhaps have a property that turns Tree View sorting on or off

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [December 27, 2012, 4:15pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/2 "2012-12-27T16:15:05Z")

</div>

There is a property called "Auto Sort’ that you can turn off.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [December 27, 2012, 4:31pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/3 "2012-12-27T16:31:58Z")

</div>

Hi Travis,  
“Auto Sort” doesn’t work for me. Does it work for you?

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [December 27, 2012, 4:35pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/4 "2012-12-27T16:35:06Z")

</div>

I don’t understand what “Auto Sort” is supposed to do because if I have it on or off the tree sorts the same way.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [December 27, 2012, 6:01pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/5 "2012-12-27T18:01:01Z")

</div>

Well, “Auto Sort” works only for leaf nodes. It always sorts folders right now. I will add a ticket in for this.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [December 27, 2012, 6:17pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/6 "2012-12-27T18:17:55Z")

</div>

Okay. Thanks Travis.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [August 27, 2014, 10:49pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/7 "2014-08-27T22:49:58Z")

</div>

This is fixed for 7.7.1

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [August 27, 2014, 10:53pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-not-automatically-sort/5621/8 "2014-08-27T22:53:05Z")

</div>

Thanks!
