sort heap « STL Algorithms Heap « C++






1.Use sort_heap to convert heap into a sorted collection(after the call it is no longer a heap)
2.Sort a heap