Caleb's Selection Sort Fix