Add selection sort.