void selSort(_______ list[], int items) // fill in with the type of elements { for(int spot = 0; spot < items -1; spot ++) { int idxMin = spot; for(int idx = spot+1; idx < items; idx ++) if(list[idx] < list[idxMin]) idxMin = idx; if(idxMin! = spot) swap(list[idxMin], list[spot]); } }