Your solution is not guaranteed to be well shuffled since you relying on sort to shuffle ties.But you do know the period of repetition for rand(), right? ;-)
In reply to Re^3: Randomising the order of an array
by Anonymous Monk
in thread Randomising the order of an array
by g0n
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |