The Sock-Sorter 3000

Heap Sort Method

For when you want to sort a pile of socks, but don't want to deal with all those pesky algorithms.

Here's how it works:

  1. Take a big ol' heap of socks and sort them by color.
  2. Place the sorted socks in neat little piles.
  3. Repeat steps 1-2 until you've got a neat little collection of sorted socks.

It's like magic, but with more folding!