Comparator param for selection sort