You may find these two nodes handy: Fisher-Yates Shuffle and Fisher-Yates shuffle?
In reply to Re: Randomizing an array by vek in thread Randomizing an array by Anonymous Monk