Data structure structure with shifting variables based upon Column count

Not having touch GH in a while, I am stuck with this simple problem. … it seems so simple …
Basically I am stuck for hours trying to reorganise my data structure. What I need to accomplish, is a branched tree where the variables shift given Column count. The image should explain it much better. Any advise


Branch_Row_Columns.gh (7.1 KB)
how to best approach this


Branch_Row_Columns.gh (14.9 KB)

Thanks … I was totally overthinking it. With this series and a List Item I can sort my datatree.