code: def test_permutation_sort_ndim(self, dtype):
      cupy_random = self._xp_random(cupy)
      a = cupy.arange(15, dtype=dtype).reshape(5, 3)
      b = cupy.copy(a)
      c = cupy_random.permutation(a)
      testing.assert_allclose(a, b)
      testing.assert_allclose(b, cupy.sort(c, axis=0))
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
  from cupy.testing import _condition
label_desc: Use image node_id 4 for calling the TestPermutations obj's underlying member method code with example usage: obj.test_permutation_sort_ndim(dtype) without return types