This function is a shortcut of the following expression:

compare(o1, o2) >= 0 ? o1 : o2;
See Also:
compare()