Write a function that sorts the given list of numbers in ascending order?
Login to Submit
Input: [4, 3, 2, 1] Output: [1, 2, 3, 4] Input: [5, 1, 7, 8] Output: [1, 5, 7, 8] Input: [1, 2, 3] Output: [1, 2, 3]