human
get sort index numpy array.
assistant
Here is a Python function to get sort index numpy arrays

import numpy as np

def _get_sort_index(a):
    """Return the sort index of the given numpy array.
    This will sort the array and return the index of the sorted array.

    """
    return np.argsort(a)

# Enter the array
a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Calling the function
print((_get_sort_index(a)))

#Example Output
# [0 1 2 3 4 5 6 7 8 9]

#Remember to inspect code for bugs.