Notifications
Clear all

[Closed] sort array of nodes by hierarchy

So I have an array for nodes which are all part of a hierarchy, which I would like to sort in order of parent > child. Does mxs have a function for this?

1 Reply
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

no. have to right it yourself.
but if you collect all children of a node by

join #() node

the method collects all children in parent to children order