absl::c_stable_sort

Container-based version of the <algorithm> std::stable_sort() function to sort elements in ascending order of their values, preserving the order of equivalents.

Synopsis

Declared in <absl/algorithm/container.h>

template<typename C>
void
c_stable_sort(C& c);

Parameters

NameDescription
cThe container to sort.