Product Site

5.4.5.8.1. compare

Returns -1 if second is larger than first, 0 if the two objects are equal, and 1 if second is smaller than first.

Comparisons are performed using numeric comparison rules, so the collection strings must be valid numeric values.