ARRAYS · CATEGORY
Order the elements — compare, swap, partition, merge.
Adjacent compare-and-swap.
Pick the minimum each pass.
Grow a sorted prefix.
Divide, sort halves, merge.
Partition around a pivot.