code: def test_issue_5788():
      args = [(1, 2), (2, 1)]
      for o in [Dict, Tuple, FiniteSet]:
          # __eq__ and arg handling
          if o != Tuple:
              assert o(*args) == o(*reversed(args))
          pair = [o(*args), o(*reversed(args))]
          assert sorted(pair) == sorted(pair)
          assert set(o(*args))
  
imports: from collections import defaultdict
  from sympy.core.basic import Basic
  from sympy.core.containers import Dict, Tuple
  from sympy.core.numbers import Integer
  from sympy.core.kind import NumberKind
  from sympy.matrices.kind import MatrixKind
  from sympy.core.singleton import S
  from sympy.core.symbol import symbols
  from sympy.core.sympify import sympify
  from sympy.matrices.dense import Matrix
  from sympy.sets.sets import FiniteSet
  from sympy.core.containers import tuple_wrapper, TupleKind
  from sympy.core.expr import unchanged
  from sympy.core.function import Function, Lambda
  from sympy.core.relational import Eq
  from sympy.testing.pytest import raises
  from sympy.utilities.iterables import is_sequence, iterable
  from sympy.abc import x, y
label_desc: Use image node_id 14 for calling a global function with example usage: test_issue_5788() without return types