This project uses the bubble sort algorithm to sort 10 random numbers in descending order. It would be a good script to use if you needed your lists to be sorted.
http://scratch.mit.edu/projects/archmage/257741
Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice.
Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !