algo: Rewrite sort benchmarks.