import numpy as np vec = np.random.rand(5) # sorting vector vec.sort() print(vec) #print vector