Remove unused template type and unnecessary size for selection sort