C++ · Arrays

Selection sort

Sorted readings put the smallest first and the median in the middle; selection sort is the simplest way to get there.