sorting a list numbers stored as strings

aine_canby at yahoo.com aine_canby at yahoo.com
Mon Sep 24 13:12:46 CEST 2007


hi,

I have the following list -

["1", "11", "2", "22"]

how do I sort it like this -

["1", "2", "11", "22"]

thanks,

aine




More information about the Python-list mailing list