I have a tree like so:
I want to create a new tree where the first branch starts with the first item from branch 1, then the second item from branch two, etc, and the second branch is the second item from branch one, the third item from branch two, etc.
In other words, a new tree from the diagonals of the previous tree. I also need the branches to wrap so the last branch in the new tree continues with the items from the first branches.
What’s the best way to do this?