ManageHeight, SelectionSort