Selection sort and sort strategizing with tests.