"""
2. Write a program to sort a given list, sort based on the last element in each tuple in increasing order.
Expected Result : [(2, 1), (1, 2), (2, 3), (4, 4), (2, 5)]
"""

list_1 = [(2, 5), (1, 2), (4, 4), (2, 3), (2, 1)]

### insert code here