3.1.1.1.3.3 SortSymbols

Performs a stable sort of an array of PREFIX_CODE_SYMBOLs in order from least to greatest. The ordering of symbols is determined by the CompareSymbols procedure (see section 3.1.1.1.3.4).

Parameters

  • inout PREFIX_CODE_SYMBOL symbols[512]: A 512 element PREFIX_CODE_SYMBOL array.

Return Value

None.

Algorithm

Any stable sorting algorithm that respects the ordering imposed by the CompareSymbols procedure can be used.