compare
Similar to compare, should compare two and return how they should be ordered.
Return
a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
Parameters
o1
The first object to compare.
o2
The second object to compare.