finish simply_select_sort