stepCompare#
int stepCompare(String first, String second)
ISO 10303 compliant string ordering comparison function.
Performs lexicographical comparison following STEP (ISO 10303) conventions:
- Underscore characters (
_) are treated as spaces for comparison - Standard Unicode code point ordering is used otherwise
first: The first string to compare
second: The second string to compare
Returns:
-1iffirstis less thansecond0iffirstis equal tosecond1iffirstis greater thansecond
