code: def test_ordered():
      check_vector_transform(tr.ordered, SortedVector(6))
  
      with pytest.warns(
          FutureWarning, match="ndim_supp argument is deprecated"
      ):
          tr.Ordered(1)
  
      check_jacobian_det(
          tr.ordered,
          Vector(R, 2),
          pt.vector,
          floatX(np.array([0, 0])),
          elemwise=False,
      )
  
      vals = get_values(
          tr.ordered, Vector(R, 3), pt.vector, floatX(np.zeros(3))
      )
      assert_array_equal(np.diff(vals) >= 0, True)
  
imports: import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from pytensor.tensor.variable import TensorConstant
  import pymc
  import pymc.distributions.transforms
  from pymc.logprob.basic import transformed_conditional_logp
  from pymc.logprob.transforms import Transform
  from pymc.pytensorf import floatX, jacobian
  from pymc.testing import Circ, MultiSimplex, R, Rminusbig, Rplusbig, Simplex, SortedVector, Unit, UnitSortedVector, Vector
label_desc: Use image node_id 17 for calling a global function with example usage: test_ordered() without return types