A utility to profile sorting algorithms, including calculations of running times and average numbers of comparisons/swaps made.