first you learn quicksort and mergesort, then you go back and learn insertion sort and selection sort. then, you learn heap sort.
and you never learn bubble sort.
this is the "machete order" for sorting algorithms.
@typeswitch Primality tests:* Fermat Primality test, then* Sieve Eratosthenes* Pocklington's test, then* the AKS test
a Schelling point for those who seek one