Selectionsort director