Reorganise geometry order

Hi community. I am still new, working hard to get better but sometimes I find myself in front of a wall…Then I come to you guys to search for help.
I try to reorganise order of geometry so that I can make a gradient scale for each branches.
But I am stuck at the geometry reorganistion point… I have tried Sort List but does not work (or I don t use it properly…). Please let me know if you have an idea.



Can you please share your .gh file?

Sure! here it is
pbl01.gh (11.3 KB)

pbl01_RevA.gh (9.2 KB)