Benchmark of different sorting algorithms for math class