List management, move items x amount?

Morning!

So i’m newish to Dynamo and coding in general

I have a list of 100 items, and i want every item in the list to move to a new location on the list, lets say 50 items down, and also to wrap back around to number 0.

so i want what is currently number 0 to be number 50,
1 to be 51,
2 to be 52
and so on and so forth

I’m using the list reorder node, but i simply down know what to type in the indices code block.

any ideas?

The node ShiftIndices should be what you want.

2 Likes

This?

Edit: Nvm kennyb6 beat me to it

2 Likes

Well i’m an idiot for missing that one!

OK, thanks Kenny!
Thank you too Vykr.