Create a function that takes an array of numbers and returns a new array, sorted in ascending order (smallest to biggest).
nil or an empty array; return an empty array.sort_nums_ascending([1, 2, 10, 50, 5]) ➞ [1, 2, 5, 10, 50]
sort_nums_ascending([80, 29, 4, -95, -24, 85]) ➞ [-95, -24, 4, 29, 80, 85]
sort_nums_ascending([]) ➞ []Test input can be positive or negative.