code: def test_intersection_equal_sort(self):
      idx = Index(["c", "a", "b"])
      tm.assert_index_equal(idx.intersection(idx, sort=False), idx)
      tm.assert_index_equal(idx.intersection(idx, sort=None), idx)
  
imports: from datetime import datetime
  import numpy
  import pytest
  import pandas
  from pandas import Index, Series
  import pandas._testing
  from pandas.core.algorithms import safe_sort
label_desc: Use image node_id 11 for calling the TestIndexSetOps obj's underlying member method code with example usage: obj.test_intersection_equal_sort() without return types