NumPy > Sort array

Name
Code
Output
array = numpy.random.randint(10, size=(2, 3))
print ("original array \n",array)
array.sort()
print("sorted array \n",array)
original array 
 [[3 9 1]
 [5 3 8]]
sorted array 
 [[1 3 9]
 [3 5 8]]