Have you ever wondered how a computer decides to put things in order? There are many different sorting algorithms, and they all reach the same sorted result by taking very different routes. In this demo you can watch three classic algorithms — bubble sort, selection sort, and insertion sort — race side by side on the same scrambled list, so you can see exactly how each one thinks and count the effort each one makes.