return nil unless `other` is comparable