selection sort.