This is a "How To" program explaining how to efficiently randomly shuffle a list Reasons you may want to do this: 1. You need to pick N random items from a list without repeats 2. You want to add variability to your otherwise static program Click on the green flag to see it work
Added 2013-08-17 http://en.wikipedia.org/wiki/Fisher-Yates_shuffle