Reorder index?

How do I make index 0 change with index 1?

ex

List 1
1
2
3
4

List 2
5
6
7
8

should be

List 1
2
1
3
4

List 2
6
5
7
8

Hello again.


Simply put: you split off the first item of the list twice, so the 1 and 2, then put these back together with the remaining list in the List.Join node.

Use OOTB List.ShiftIndices and List.SortByKeys, List 2 is your ‘key’ list.

Thanks both of you

Another option:
image

3 Likes

… and another
Reorder

3 Likes