class_docstr: Base class for binary predicates that are defined in terms of the equals
  basic predicate.  `EqualsPredicateBase` implements utility functions that
  are used within many equals-related binary predicates.
  
  Used by:
  (Point, Point)
  (Point, Polygon)
  (LineString, Polygon)
  (Polygon, Point)
  (Polygon, MultiPoint)
  (Polygon, LineString)
  (Polygon, Polygon)
class_docstr_tok: ["Base","class","for","binary","predicates","that","are","defined","in","terms","of","the","equals","basic","predicate",".","`","EqualsPredicateBase","`","implements","utility","functions","that","are","used","within","many","equals-related","binary","predicates",".","Used","by",":","(","Point",",","Point",")","(","Point",",","Polygon",")","(","LineString",",","Polygon",")","(","Polygon",",","Point",")","(","Polygon",",","MultiPoint",")","(","Polygon",",","LineString",")","(","Polygon",",","Polygon",")"]
docstr: Sort the coordinates of the multipoints in the left-hand and
  right-hand GeoSeries.
  
  Parameters
  ----------
  lhs : GeoSeries
      The left-hand GeoSeries.
  rhs : GeoSeries
      The right-hand GeoSeries.
  
  Returns
  -------
  lhs_result : Tuple
      A tuple containing the sorted left-hand GeoSeries and the
      sorted right-hand GeoSeries.
docstr_tok: ["Sort","the","coordinates","of","the","multipoints","in","the","left-hand","and","right-hand","GeoSeries",".","Parameters","--","--","--","--","--","lhs",":","GeoSeries","The","left-hand","GeoSeries",".","rhs",":","GeoSeries","The","right-hand","GeoSeries",".","Returns","--","--","--","-","lhs_result",":","Tuple","A","tuple","containing","the","sorted","left-hand","GeoSeries","and","the","sorted","right-hand","GeoSeries","."]
code: def _sort_multipoints(self, lhs, rhs):
      """Sort the coordinates of the multipoints in the left-hand and
      right-hand GeoSeries.
  
      Parameters
      ----------
      lhs : GeoSeries
          The left-hand GeoSeries.
      rhs : GeoSeries
          The right-hand GeoSeries.
  
      Returns
      -------
      lhs_result : Tuple
          A tuple containing the sorted left-hand GeoSeries and the
          sorted right-hand GeoSeries.
      """
      lhs_sorted = self._sort_multipoint_series(
          lhs.multipoints.xy, lhs.multipoints.geometry_offset
      )
      rhs_sorted = self._sort_multipoint_series(
          rhs.multipoints.xy, rhs.multipoints.geometry_offset
      )
      lhs_result = (
          cuspatial.core.geoseries.GeoSeries.from_multipoints_xy(
              lhs_sorted, lhs.multipoints.geometry_offset
          )
      )
      rhs_result = (
          cuspatial.core.geoseries.GeoSeries.from_multipoints_xy(
              rhs_sorted, rhs.multipoints.geometry_offset
          )
      )
      lhs_result.index = lhs.index
      rhs_result.index = rhs.index
      return (
          lhs_result,
          rhs_result,
      )
  
imports: from __future__ import annotations
  from typing import Generic, TypeVar
  import cupy
  import cudf
  from cudf import Series
  import cuspatial
  from cuspatial.core.binpreds.binpred_interface import BinPred, EqualsOpResult, ImpossiblePredicate, NotImplementedPredicate, PreprocessorResult
  from cuspatial.utils.binpred_utils import LineString, MultiPoint, Point, Polygon, _false_series
label_desc: Use image node_id 4 for calling the EqualsPredicateBase obj's underlying member method code with example usage: obj._sort_multipoints(lhs, rhs) and returns: lhs_result,  rhs_result