docstr: ...Test sort method of arrays which keep track of index
          
docstr_tok: ["...","Test","sort","method","of","arrays","which","keep","track","of","index"]
code: def test_sort_track_index(self):
      """...Test sort method of arrays which keep track of index"""
      a = np.random.normal(size=10)
      sorted_index = np.argsort(a)
      sorted_a = np.sort(a)
      decreasing_sorted_index = np.argsort(a)[::-1]
      decreasing_sorted_a = np.sort(a)[::-1]
  
      index = np.empty_like(a, dtype=np.uint64)
  
      np.testing.assert_equal(
          test.test_sort_index_ArrayDouble(a, index, True), sorted_a
      )
      np.testing.assert_equal(index, sorted_index)
  
      np.testing.assert_equal(
          test.test_sort_index_ArrayDouble(a, index, False),
          decreasing_sorted_a,
      )
      np.testing.assert_equal(index, decreasing_sorted_index)
  
      test_a = a.copy()
      test.test_sort_index_inplace_ArrayDouble(test_a, index, True)
      np.testing.assert_equal(test_a, sorted_a)
      np.testing.assert_equal(index, sorted_index)
  
      test_a = a.copy()
      test.test_sort_index_inplace_ArrayDouble(test_a, index, False)
      np.testing.assert_equal(test_a, decreasing_sorted_a)
      np.testing.assert_equal(index, decreasing_sorted_index)
  
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 37 for calling the Test obj's underlying member method code with example usage: obj.test_sort_track_index() without return types