selection sort complete