code: def test_difference_sort_incomparable_true():
      idx = MultiIndex.from_product(
          [[1, pd.Timestamp("2000"), 2], ["a", "b"]]
      )
      other = MultiIndex.from_product(
          [[3, pd.Timestamp("2000"), 4], ["c", "d"]]
      )
  
      # TODO: this is raising in constructing a Categorical when calling
      #  algos.safe_sort. Should we catch and re-raise with a better message?
      msg = "'values' is not ordered, please explicitly specify the categories order "
      with pytest.raises(TypeError, match=msg):
          idx.difference(other, sort=True)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import CategoricalIndex, DataFrame, Index, IntervalIndex, MultiIndex, Series
  import pandas._testing
  from pandas.api.types import is_float_dtype, is_unsigned_integer_dtype
label_desc: Use image node_id 12 for calling a global function with example usage: test_difference_sort_incomparable_true() without return types