code: def test_intersection_equal_sort_true(self):
      idx = Index(["c", "a", "b"])
      sorted_ = Index(["a", "b", "c"])
      tm.assert_index_equal(idx.intersection(idx, sort=True), sorted_)
  
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 7 for calling the TestIndexSetOps obj's underlying member method code with example usage: obj.test_intersection_equal_sort_true() without return types