sort() in C STL - GeeksforGeeks
The sort() function in C is a built-in method for sorting data in ascending or descending order, applicable to random access data structures like vectors and arrays, and utilizes the Intro Sort Algorithm with a worst-case time complexity of O(n log n).
geeksforgeeks.org
· Nov 19, 2019