Loop, sorting elements at list

Hi everyone,
I want to sort my list and its sublists in a certain way. I’ve got List of points that includes 7 “main lists” (from 0 List to 6 List), and each of these lists contains 17 points (indexes from 0 to 16) (small part of my List is in the picture below).
I have to sort this into other 7 “main lists” that contains 17 elements, but I have to change the order like one in this example:
New List 0:
[0] item at index 0 from “List 0”
[1] item at index 1 from “List 1”
[2] item at index 2 from “List 2”
[…]
[7] item at index 7 from “List 1”
[8] item at index 8 from “List 2”
[…]
[13] item at index 13 from “List 0”
[14] item at index 14 from “List 1”
[15] item at index 15 from “List 2”
[16] item at index 16 from “List 3”

New List 1:
[0] item at index 1 from “List 0”
[1] item at index 2 from “List 1”
[2] item at index 3 from “List 2”
[…]
[7] item at index 8 from “List 1”
[8] item at index 9 from “List 2”
[…]
[13] item at index 14 from “List 0”
[14] item at index 15 from “List 1”
[15] item at index 16 from “List 2”
[16] item at index 0 from “List 3”

I want to create loop that will take appropriate element and put it into appropriate list, but I don’t know how.
Any ideas how should I do this?
Many thanks!

Hi,

Sorry I’m not at a PC…

Have a play with List.Transpose, Get Item At Index (or Indices), List.Join, List.Chop & Flatten

I suspect that if you Flatten, then feed a list of get Item at Indices you can re-order then chop the list back into your sub lists…

Good luck :slight_smile:

Mark