Sorting in trees

Hello everyone,

I am wondering if there is any possibility to change the sort order of items (subclass of NODEInfo) within an exiting tree.

My problem is that I get the items wihin one level in random order and I want to sort it after building up the tree. I don’t want to first collect all items, then sort them and then build up the tree (TREECollection).

I am using version 40_20060908.

Thank you for helping.

Tobias

Hello,
There are many thinkable possibilities sorting trees…

Unfortunately you have to sort and arrange your items before you render them node by node.

A posteriori exchange of Treenodes after their creation isn’t a good idea about performance.
Regards
Ingo