code: def test_join_inner_multiindex_deterministic_order():
      # GH: 36910
      left = DataFrame(
          data={"e": 5},
          index=MultiIndex.from_tuples(
              [(1, 2, 4)], names=("a", "b", "d")
          ),
      )
      right = DataFrame(
          data={"f": 6},
          index=MultiIndex.from_tuples([(2, 3)], names=("b", "c")),
      )
      result = left.join(right, how="inner")
      expected = DataFrame(
          {"e": [5], "f": [6]},
          index=MultiIndex.from_tuples(
              [(1, 2, 4, 3)], names=("a", "b", "d", "c")
          ),
      )
      tm.assert_frame_equal(result, expected)
  
imports: import re
  import numpy
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import Categorical, DataFrame, Index, MultiIndex, Series, Timestamp, bdate_range, concat, merge, option_context
  import pandas._testing
label_desc: Use image node_id 7 for calling a global function with example usage: test_join_inner_multiindex_deterministic_order() without return types