input: Write a python function to sort a list based on a given multiplier using lambda function.
  assert sortList([3, 1, 5, 4, 2], 5) == [1, 2, 3, 4, 5]
  assert sortList([10, 3, 7, 1, 9], 3) == [1, 3, 7, 9, 10]
  assert sortList([4, 2, 8, 6, 3], 2) == [2, 3, 4, 6, 8]
output: def sortList(lst, multiplier):
      return sorted(lst, key=lambda x: x * multiplier)