Selection sort, might as well rename quicksort to slowsort