code: def test_concat_categorical_ordering():
      # https://github.com/rapidsai/cudf/issues/11486
      sr = pd.Series(
          ["a", "b", "c", "d", "e", "a", "b", "c", "d", "e"],
          dtype="category",
      )
      sr = sr.cat.set_categories(["d", "a", "b", "c", "e"])
  
      df = pd.DataFrame({"a": sr})
      gdf = gd.from_pandas(df)
  
      expect = pd.concat([df, df, df])
      got = gd.concat([gdf, gdf, gdf])
  
      assert_eq(expect, got)
  
imports: from decimal import Decimal
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.api.types import is_categorical_dtype
  from cudf.core._compat import PANDAS_GE_150, PANDAS_LT_140
  from cudf.core.dtypes import Decimal32Dtype, Decimal64Dtype, Decimal128Dtype
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 45 for calling a global function with example usage: test_concat_categorical_ordering() without return types