Selection sort
Fix