Premium problem40. Sort a Vector

Medium Locked

Return the array a sorted in ascending order.

Input

[3.  1.  4.  1.5 5.  9.  2. ]

Output

[1.  1.5 2.  3.  4.  5.  9. ]

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)