# Join elements of sublists at same level

**URL:** <https://forum.dynamobim.com/t/join-elements-of-sublists-at-same-level/34506>\
**Category:** Lists-Logic\
**Created:** [April 7, 2019, 5:52pm UTC](https://forum.dynamobim.com/t/join-elements-of-sublists-at-same-level/34506 "2019-04-07T17:52:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertoruggeri](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@robertoruggeri](https://forum.dynamobim.com/u/robertoruggeri)\
**Post date:** [April 7, 2019, 5:52pm UTC](https://forum.dynamobim.com/t/join-elements-of-sublists-at-same-level/34506/1 "2019-04-07T17:52:07Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/0/10d4707bfb64e5727878dfa2f0feff83a508bbaa.png)  
Hi everybody,  
I am stuck with this simple topic.  
What I would like to do is to join elements of sublists at same level.  
For example I have:  
0 List: 0;1;2;3;4  
1 List: a,b,c,d  
2 List: xx,yy,zz,ww

What I want is to have sublists in this new order: [0, a, xx], [1,b,yy] and so on…  
I can do it specifying the index in the List.GetItemAtIndex but I would like to do it with all the elements of my lists therefore I want to automatize it without creating NList.GetItemAtIndex specifying for each of them an index from 1 to number of elements of the list…

Thanks a lot in advance

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 7, 2019, 6:11pm UTC](https://forum.dynamobim.com/t/join-elements-of-sublists-at-same-level/34506/2 "2019-04-07T18:11:45Z")

</div>

Hi @robertoruggeri

Just use Transpose:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/9/f943fbd21f02804c1579ec1507e91ff869f59d36.png)

---

<div class="post-metadata">

**Author:** ![robertoruggeri](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@robertoruggeri](https://forum.dynamobim.com/u/robertoruggeri)\
**Post date:** [April 14, 2019, 9:37pm UTC](https://forum.dynamobim.com/t/join-elements-of-sublists-at-same-level/34506/3 "2019-04-14T21:37:53Z")

</div>

Thanks! it was so easy 🙂
