import numpy as np # Create a random vector of size 5 rand_vec = np.random.rand(5) # Sort the vector using the sorted function sorted_vec = sorted(rand_vec) print(sorted_vec)