code: def test_dataframe_sort_values_ignore_index(index, ignore_index):
      gdf = DataFrame(
          {
              "a": [1, 3, 5, 2, 4],
              "b": [1, 1, 2, 2, 3],
              "c": [9, 7, 7, 7, 1],
          }
      )
      gdf = gdf.set_index(index)
  
      pdf = gdf.to_pandas()
  
      expect = pdf.sort_values(
          list(pdf.columns), ignore_index=ignore_index
      )
      got = gdf.sort_values((gdf.columns), ignore_index=ignore_index)
  
      assert_eq(expect, got)
  
imports: import string
  from itertools import product
  import numpy
  import pandas
  import pytest
  from cudf import DataFrame, Series
  from cudf.core.column import NumericalColumn
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, assert_eq, assert_exceptions_equal, expect_warning_if
label_desc: Use image node_id 2 for calling a global function with example usage: test_dataframe_sort_values_ignore_index(index, ignore_index) without return types