How to respect node order when querying assets via TagManager?
Hey,
we are using the TagManager to query all assets with specific tags. However, we would like the assets to be in the order that they are in the CRX so that the authors can move them in the order they want to. How can we accomplish that?
We tried a manual function that traverses the tree and keeps the order in that way but that was just too slow. In a different approach we tried to use node.getIndex() to re-sort the assets we got from the TagManager but that always returns 1 for some reason..
I saw here [1] that there's a global setting but I really just want something simple and quick for this one purpose. Any ideas?
Thanks!
Paul