[#absl-c_sort-07a]
= xref:absl.adoc[absl]::c&lowbar;sort
:relfileprefix: ../
:mrdocs:

Overload of `c&lowbar;sort()` for performing a `comp` comparison other than the default `operator&lt;`&period;

== Synopsis

Declared in `&lt;absl&sol;algorithm&sol;container&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename C,
    typename LessThan&gt;
constexpr
void
c&lowbar;sort(
    C& c,
    LessThan&& comp);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| The container to sort&period;
| *comp*
| The comparison used to order the elements&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
