sort_heap

The function sort_heap is used to sort a heap.

  template<class RandomAccessIterator>
  void sort_heap
  (RandomAccessIterator first,RandomAccessIterator last);
  template<class RandomAccessIterator, class Compare>
  void sort_heap
  (RandomAccessIterator first, RandomAccessIterator last,
  Compare comp);
  
Remarks

Note that this result is not stable

There is no value returned.