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

import numpy as np

def get_sort_index(array):
    """
    move to util_iter
    """
    return np.argsort(array)

# Enter the array
array = np.array([1, 2, 3, 4, 5])

# Calling the function
print((get_sort_index(array)))

#Example Output
# [0 1 2 3 4]

#Remember to inspect code for bugs.