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