Sort is an overloaded name; there are actually two sort functions.Prototype
template
void sort(RandomAccessIterator first, RandomAccessIterator last);
template
void sort(RandomAccessIterator first, RandomAccessIterator last, StrictWeakOrdering comp);