STL sorting in C Plus Plus

Sort is a build in standard template library function, which perform comparison sort. Sort function takes two random access iterators (start and end) as argument. O(n log n) is the worst case complexity of the sorting algorithm.

Click here for STL sorting in C++