My assignment is to write a program which allows me to play with different types of sorting algorithms and compare them. The input is a text file. It cannot be restricted to only one data type, or to one ordering relationship. The data type, ordering relationship, and the sorting method must be input parameters for your program. It will print out the number of exchanges and comparisons in these sorts Bubble sort, insertion and selection.
Can someone please give me some advice on how to start ? How do I use data type ordering relationship and sorting method as parameters ?