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);
Note that this result is not stable
There is no value returned.