Glossary: Data Structures and Algorithms in C++
std::sort
Also written: sort
The library's in-place O(n log n) sort. It orders numbers and strings naturally, or structs with a comparator, and may reorder equal items.
Glossary: Data Structures and Algorithms in C++
Also written: sort
The library's in-place O(n log n) sort. It orders numbers and strings naturally, or structs with a comparator, and may reorder equal items.