[Baypiggies] sorting alphanumeric list

Vikram K kpguy1975 at gmail.com
Tue Jul 19 21:12:59 CEST 2011


given the following list:

>>> a
['Y6', 'T5']

how do i modify list a to end up with:

>>> b
['T5', 'Y6']

of course my actual data consists of nested lists whose elements consist of
lists like list a.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20110719/700f2acb/attachment.html>


More information about the Baypiggies mailing list