in reply to Re^2: array shufflein thread array shuffle
See the FAQ How do I shuffle an array randomly? for a shuffle algorithm.