code: def test_sort_index_series(gs):
      gs.index = np.random.permutation(len(gs))
      cugs = cuspatial.from_geopandas(gs)
      expected = gs.sort_index()
      got = cugs.sort_index().to_pandas()
      gpd.testing.assert_geoseries_equal(got, expected)
  
imports: import geopandas
  import numpy
  import pandas
  import cuspatial
label_desc: Use image node_id 1 for calling a global function with example usage: test_sort_index_series(gs) without return types