compare_heaps function

Compare timings of different sort heaps for a given input graph.