I have a list of tuples:
list_of_tup = [(\'x3\', \'2010\'), (\'x5\', \'2012\'), (\'x2\', \'2018\')]
You may notice that the list is sorted on