Reorder index?


#1

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


#2

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.


#3

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


#4

Thanks both of you


#5

Another option:
image


#6

… and another
Reorder