input: Write a python function to sort a list of numbers.
  assert sortList([3, 4, 8, 5, 10]) == [3, 4, 5, 8, 10]
  assert sortList([10, 9, 8, 7, 6, 5]) == [5, 6, 7, 8, 9, 10]
  assert sortList([1, 3, 2, 4]) == [1, 2, 3, 4]
output: def sortList(nums):
      return sorted(nums)