compare package:numeric-prelude

Lift compare implementation from a wrapped object.
If the type has already an Ord instance it is certainly the most easiest to define compare to be equal to Ord's compare.