1. Introduction to sorting
- What is sorting, and why does it matter?
- Bubble sort: swap neighbours until nothing moves
- Selection sort: pick the smallest, put it next
- Insertion sort: grow a sorted prefix
- Merge sort: split, sort, merge
- Quick sort: partition around a pivot
- Counting sort and radix sort: sorting without comparing
- Choosing a sorting algorithm, and spotting a sorting question
