Quote:
Originally Posted by Stefan
Quoting http://forums.graalonline.com/forums...81&postcount=2 :
For the tree view you set attributes like this:
sortmode = "value";
sortorder = "descending";
groupsortorder = "ascending";
For the nodes then:
sortvalue = 1;
sortgroup = 2;
That would sort the nodes after the value you have assigned to them. When you set sortmode="name" then it will be sorted alphabetically. The sort group can be used to let some types of nodes always appear at the top, e.g. in a folder view you would want to display the folders at the top.
---
sortmode can be "value", "name" or "extension"
|
You basically assign a value to each entry adn sort by value.