oa::stableSort

Stable insertion sort is intentionally used for the small control-plane collections that require stable ordering. It performs no allocation and keeps equal elements in their original order.

Function Documentation

void oa::stableSort( RandIt inFirst, RandIt inLast, Cmp inCmp ) void oa::stableSort( RandIt inFirst, RandIt inLast )
Stable insertion sort is intentionally used for the small control-plane collections that require stable ordering. It performs no allocation and keeps equal elements in their original order.

Parameters

inFirst
RandIt

inLast
RandIt

inCmp
Cmp

Returns

void

The declared return value.