Write a Python program to sort a list of tuples by increasing order of the second item of each tuple.
def sort_list(list_of_tuples): 
    list_of_tuples.sort(key = lambda x: x[1]) 
    return list_of_tuples