Adding multiple branches to a tree

replace and add multiple paths to a tree question.gh (20.2 KB)
Hi guys, I have a question of adding multiple items into a tree. In this example specifically, I was hoping to change the list order of two branches of a tree and then replace those values back to the original tree. However, the result of the lines seem really confusing. I was wondering how I would be able to add those values correctly because right now the values are just added to other branches of the tree.
image