Compares the current StateRecord object to obj.


- obj (Object)
- Object against which the current StateRecord object is to be compared.

Negative value if the current StateRecord object is less than obj,
Zero if the current StateRecord object is equal to obj,
Positive value if the current StateRecord object is greater than obj.