code: def test_sort_key():
      assert MatAdd(Y, X).doit().args == add(Y, X).doit().args == (X, Y)
  
file_path: sympy/sympy/matrices/expressions/tests/test_matadd.py
imports: from sympy.matrices.expressions import MatrixSymbol, MatAdd, MatPow, MatMul
  from sympy.matrices.expressions.special import GenericZeroMatrix, ZeroMatrix
  from sympy.matrices.exceptions import ShapeError
  from sympy.matrices import eye, ImmutableMatrix
  from sympy.core import Add, Basic, S
  from sympy.core.add import add
  from sympy.testing.pytest import XFAIL, raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_sort_key() without return types