input: Write a python function to sort an array in ascending order.
  assert sortArray([4, 2, 3, 1]) == [1, 2, 3, 4]
  assert sortArray([10, 5, 3, 8, 6]) == [3, 5, 6, 8, 10]
  assert sortArray([0, -1, -3, 2, 1]) == [-3, -1, 0, 1, 2]
output: def sortArray(arr):
      return sorted(arr)