Randomize the order of elements in an array
[1, 2, 3, 4, 5]
array
inputshuffled
output will contain the same numbers in a random order, like [3, 1, 5, 2, 4]
Can I shuffle a list of anything, not just numbers?
Does shuffling change my original list?
How random is the shuffle?