Your question is Sorting Integers Function. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Write a function that sorts an array of integers in ascending order. You may use any comparison-based sorting approach, but the function must return the sorted array.
numsdef sort_array(nums):