Organize in 4 branches

Hi everyone! I am trying to organize this set of elements in one tree and 4 branches, like in the picture. However, I am not sure how to do it since I can´t get the right order. What would be the best way to organize the tree like in the screenshot I am attaching?What components can I use?
Thank you!!!

it could also be organized like this:

organize in four branches.gh (128.3 KB)

Like this?


organize in four branches_re.gh (196.1 KB)

Yes, Perfect! But how can I organize the items of each branch in the order of the screenshot? (from item 1 to item 6 of each branch)
Also, how does the Replace Path works?
Thank you so much!!!

It seems the order of items you want is totally inconsistent. Maybe the algorithm that can organize this would be very inefficient.