# Import the NumPy library
import numpy as np
arr = np.array([[4, 6, 2], [5, 1, 3], [7, 9, 8]])
# sort by the second column (index 1) in descending order
sorted_indices = np.argsort(-arr[:,1])
sorted_arr = arr[sorted_indices]
print(sorted_arr)