Sort and Filter

Sorting through and searching for items are tasks we do everyday. Searching and sorting are also common tasks for a computer program, so we’ve come up with many step by step descriptions for these tasks.

Cut out the columns and sort them according to size. How do you go about sorting them?

Would you do it randomly? Would you put them in a big pile and pull one out at a time? Does your friend have a different way of sorting?

These are all fine strategies for humans, but to program a computer, we’d need to be much more specific. This algorithm sorts the columns by comparing them to each other one by one.

Watch video

Episode 12

Done playing?

Find another exercise!

pLAy moRe!

Made something cool?

Show it to us! We might even feature it on this page.

EmAiL us!