How can I sort objects automaticly like I defined in the admin?
Some of my folders are sorted in the admin by priority, some by name, etc. I want to create tree view sorted automaticly by what I defined in the admin for each folder.
I thought that if I will fetch objects with no sorting it will sort automaticly by what was defined in the admin. But I see its not like that.