folly::stable_radix_sort

stable_radix_sort overloads

Synopses

Declared in <folly/algorithm/StableRadixSort.h>

stable_radix_sort - Sort elements in ascending order.

template<typename ContiguousIt>
void
stable_radix_sort(
    ContiguousIt first,
    ContiguousIt last);
» more...

stable_radix_sort - Sort elements by extracted key in ascending order.

template<
    typename ContiguousIt,
    typename Projection>
void
stable_radix_sort(
    ContiguousIt first,
    ContiguousIt last,
    Projection proj);
» more...

Parameters

NameDescription
firstIterator to the first element to sort.
lastIterator past the last element to sort.
projProjection returning the sort key for each element.