Replaced fmap with <$>.
Take advantage of Monoid instance for Ordering.
Small import cleanup.