human
Give me a Python program to sort a numpy array and store the index and descending value in the program.
assistant
Here is a Python program to sort a numpy array and store the index of descending value in the array

import numpy as np

def sort_array(array):
    """
    >>> array = np.array([1, 2, 3, 4, 5])
    >>> sort_array(array)
    [5, 4, 3, 2, 1]
    """
    array = np.array(array)
    array.sort()
    return array

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

# Calling the function
array_sorted = sort_array(array)

# Printing the array
print(array_sorted)

#Example Output
# [1 2 3 4 5]

#Remember to inspect code for bugs.