Split tree comand sorts output


I do stuck with the output of split tree. i want a list (amount of items varrys) of items of the tree.
see attached.


for {0}: 200 and {1}: 100
i get path {200}: 20 and {100}: -80
but sortet in {100},{200}

the output i want to archieve is {0}: 20 and {1}: -80

could anyone please help, i am running cicles.


190131 data tree.gh (17.7 KB)

Instead of using SplitTree you can easily use TreeBranch component.
You must turn off Maintain Paths option from the component context menu.

Jonaremer.gh (16.5 KB)

thanks… always to easy