Implement partial_cmp instead of lt for Ord trait.