4.3 Comparison
4.3.1 Equality #
Two SIDs are equal if and only if their binary representations are byte-for-byte identical.
SID comparison MUST be performed on the binary encoding, not the string form. There is no case sensitivity, normalisation, or equivalence relation — equality is exact binary match.
4.3.2 Ordering #
This document does not define a total ordering for SIDs. Specifications that require an ordered SID collection MUST define their ordering convention explicitly.