Write a Python program that uses a lambda function to sort a list of tuples based on the second element in each tuple. The function should return the sorted list.
Example 1:
Input: [('a', 2), ('b', 1), ('c', 3)]
Output: [('b', 1), ('a', 2), ('c', 3)]
Example 2:
Input: [('x', 10), ('y', 5), ('z', 20)]
Output: [('y', 5), ('x', 10), ('z', 20)]