Array Sort Exercises
Use the built-in .sort() method on arrays to solve all of these problems Feel free to copy and paste the function and tests in this assignment. 1) Sort an array from smallest number to largest function leastToGreatest(arr) { // your code here } console.log(leastToGreatest([1, 3, 5, 2, 90, 20]