Sort tree branches according to another list of keys (solved)

grasshopper
unhandled
tree

#1

hello,
I am trying to rearrange on tree* the one with curves according to another list of values, (as shown in the picture), using sort list made it go only through the big list items instead of the tree branches, is there a way to do it?

thanks in advance.


#2

Hope this helps:

RearrangeTree.gh (13.7 KB)


#3

that’s it, big thanks.

this renumber thing is very well hidden, I would prefer if there was a stand alone (sort tree) component for that mater