Write a Python program to sort a given list according to specified criteria.
lst = [('a', 1), ('b', 3), ('c', 2)]
def sort_list(lst):
  return sorted(lst, key=lambda x: x[1])

result = sort_list([('a', 1), ('b', 3), ('c', 2)]) 
print(result)