Skip to content

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).

Where the book teaches it

Related terms

lambda