Click the green flag to start. Click on the cat 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.
This is for teaching how a bubble sort works. It compares each pair of numbers to see if they need swapping. It counts the numbers of swaps and keeps scanning the list until no swaps have been made on that run. When no swaps have been made, the sort is complete! You could build up to this by making a project that only does 1 run, requiring multiple runs to sort all the numbers. An extension could be then to automate the whole process.