I am aware of two ways to sort a list of list by some index of the inner list. Check the following examples:
>>> a=[[12,'2003-10-12'],[15,'2002-01-12'],[23,'2001-03-12'],[10,'2001-02-23'],[43,'2001-02-10']]
>>> sorted(a, key=lambda x:x[1])
[[43, '2001-02-10'], [10, '2001-02-23'], [23, '2001-03-12'], [15, '2002-01-12'], [12, '2003-10-12']]
>>> from operator import itemgetter
>>> sorted(a, key=itemgetter(0))
[[10, '2001-02-23'], [12, '2003-10-12'], [15, '2002-01-12'], [23, '2001-03-12'], [43, '2001-02-10']]
>>> sorted(a, key=itemgetter(1))
[[43, '2001-02-10'], [10, '2001-02-23'], [23, '2001-03-12'], [15, '2002-01-12'], [12, '2003-10-12']]
>>> sorted(a, key=itemgetter(0,1))
[[10, '2001-02-23'], [12, '2003-10-12'], [15, '2002-01-12'], [23, '2001-03-12'], [43, '2001-02-10']]