diff --git a/milli/src/score_details.rs b/milli/src/score_details.rs index 0a9b77e2b..1efa3b8e6 100644 --- a/milli/src/score_details.rs +++ b/milli/src/score_details.rs @@ -425,9 +425,6 @@ pub struct Sort { impl PartialOrd for Sort { fn partial_cmp(&self, other: &Self) -> Option { - if self.field_name != other.field_name { - return None; - } if self.ascending != other.ascending { return None; } @@ -466,9 +463,6 @@ pub struct GeoSort { impl PartialOrd for GeoSort { fn partial_cmp(&self, other: &Self) -> Option { - if self.target_point != other.target_point { - return None; - } if self.ascending != other.ascending { return None; }