DEFRECORD KCML_SORTKEY

SORT key descriptors
FLD namePack formatPurpose
SORTKEY_LengthUINT(1)Length, zero marks end of descriptors
SORTKEY_PositionUINT(2)Start of segment, counted from 1
SORTKEY_SequenceUINT(1)Bits defining how the segment is to be sorted

More info