Source: wikibot/sort-c-plus-plus

= Sort (C++)
{wiki=Sort_(C++)}

In C++, "sort" typically refers to the process of arranging elements in a particular order, usually in ascending or descending order. The C++ Standard Library provides a powerful and flexible sorting algorithm through the \`std::sort\` function, which is defined in the \`\<algorithm>\` header.