selectionSort-v2