Click the green flag to start. Click on Danger Mouse to fill the array with 10 random numbers between 1 and 50. Click on the sort button to perform a bubble sort. If 2 numbers need swapping you hear a pop, if they don't you hear a drum. The button tells you when they are all sorted.
Slight changes to @othermachines version to remove the messages on each sort. And change the cat to Danger Mouse. :-)