hi @Mikko_S
below snippet can help you to do the operation.
i am just storing the index of the each item in a variable and calculating the MOD of the variable with 2.
instead of message box you can use the Add to collection activity to separate the date as two different list.
Regards
Ajay