[#bsl-slist-sort-0a7]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::sort
:relfileprefix: ../../
:mrdocs:

Sort this list using the specified strict&hyphen;weak&hyphen;ordering comparator `&lowbar;&lowbar;comp`&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;StrictWeakOrdering&gt;
void
sort(&lowbar;StrictWeakOrdering &lowbar;&lowbar;comp);
----


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