selection sort worst case number of swaps