Create a Python 3 program to sort a list of numbers in ascending order.
[5, 7 ,1 ,3, 4]
def sort_list(lst):
  lst.sort()
  return lst

lst = [5, 7 ,1 ,3, 4]
sorted_list = sort_list(lst)
print(sorted_list)