My understanding is the tree structure should be preserved - only sibling nodes can be swapped to sorted order.
For instance, node 'b' is a child of node 'c' in my original data, and should still be a node of 'c' in the result.
It is not.
I think the result should be
c b a j e d h g f i
In reply to Re^2: Re-ordering data branches in a [Tree::DAG_Node] tree
by tybalt89
in thread Re-ordering data branches in a [Tree::DAG_Node] tree
by atcroft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |