Sort this binary heap: 0 1 3 2 0 1 2 3 2 3 1 0 0
Sort me, mortal!
1. Start at the root node.
2. Compare the root node with its left and right child nodes.
3. Swap the child node with the smallest/largest value (depending on the type of heap).
4. Repeat steps 2-3 until the heap is sorted.
0 1 3 2 0 1 2 3 2 3 1 0 0