bsl::slist::sort

Sort this list using the specified strict-weak-ordering comparator __comp.

Synopsis

Declared in <bslstp_slist.h>

template<class _StrictWeakOrdering>
void
sort(_StrictWeakOrdering __comp);