How to sort the below array of dates on python 2.4
timestamps = [\'2011-06-2\', \'2011-08-05\', \'2011-02-04\', \'2010-1-14\', \'2010-12-13\', \'2010-1-12\'
map(lambda x:x[1], sorted(map(lambda a:[map(int,a.split('-')),a], timestamps))) ['2010-1-12', '2010-1-14', '2010-2-07', '2010-2-11', '2010-11-16', '2010-11-22', '2010-11-23', '2010-11-26', '2010-12-02', '2010-12-13', '2011-02-04', '2011-06-2', '2011-08-05', '2011-11-30']