Compares two culture or segment codes, invariant (nullish) first, then ordinally and case-sensitively, matching .NET's StringComparer.Ordinal.
StringComparer.Ordinal
The first code to compare.
The second code to compare.
A negative number if a sorts before b, positive if after, zero if equal.
a
b
Compares two culture or segment codes, invariant (nullish) first, then ordinally and case-sensitively, matching .NET's
StringComparer.Ordinal.