Selection sort, but doesn't do last int.