code: def test_build_order():
      R = QQ.old_poly_ring(x, y, order=(("lex", x), ("ilex", y)))
      assert R.order((1, 5)) == ((1,), (-5,))
  
file_path: sympy/sympy/polys/domains/tests/test_polynomialring.py
imports: from sympy.polys.domains import QQ, ZZ
  from sympy.polys.polyerrors import ExactQuotientFailed, CoercionFailed, NotReversible
  from sympy.abc import x, y
  from sympy.testing.pytest import raises
label_desc: Use image node_id 1 for calling a global function with example usage: test_build_order() without return types