Moved Ord constraint into AnyRef typeclass.