Export selection sort