Question 1
Write the selection sort algorithm as a template function, using the less than operator to compare two elements.
Question 2
Write the merge sort algorithm as a template function. Use two template parameters, one to set the element type, and the second to describe the ordering algorithm.