[Haskell] compares :: Ord a => a -> a -> Ordering -> Ordering