docstr: ...Test sort method of arrays
          
docstr_tok: ["...","Test","sort","method","of","arrays"]
code: def test_sort(self):
      """...Test sort method of arrays"""
      a = np.random.normal(size=10)
      sorted_a = np.sort(a)
      decreasing_sorted_a = np.sort(a)[::-1]
  
      np.testing.assert_equal(
          test.test_sort_ArrayDouble(a, True), sorted_a
      )
      np.testing.assert_equal(
          test.test_sort_ArrayDouble(a, False), decreasing_sorted_a
      )
  
      test_a = a.copy()
      test.test_sort_inplace_ArrayDouble(test_a, True)
      np.testing.assert_equal(test_a, sorted_a)
  
      test_a = a.copy()
      test.test_sort_inplace_ArrayDouble(test_a, False)
      np.testing.assert_equal(test_a, decreasing_sorted_a)
  
imports: import unittest
  import numpy
  from numpy.linalg import norm
  from tick.array_test.build import array_test
  from scipy.sparse import csr_matrix
  import itertools
label_desc: Use image node_id 36 for calling the Test obj's underlying member method code with example usage: obj.test_sort() without return types