Compute the total number of comparisons used to sort the given input file by QuickSort