compare
Compares two instances.
Return
A negative value if left is less than right, a positive value if left is greater than right, or zero if left and right are equal.
Parameters
left
The first instance.
right
The second instance.
Compares two instances.
A negative value if left is less than right, a positive value if left is greater than right, or zero if left and right are equal.
The first instance.
The second instance.