Array order

Is there a way to get different order from array when doing loops?
If array output is (1,2,3), than what i need is random order like output is (2,1,3).?

shuffle the array before looping.

1 Like