Glossary: Algorithms Beyond the Basics in C++
std::sort
Also written: sort
The standard function that sorts a range, optionally with a comparator lambda; it costs O(n log n).
Glossary: Algorithms Beyond the Basics in C++
Also written: sort
The standard function that sorts a range, optionally with a comparator lambda; it costs O(n log n).