How to sort alpha numeric set in python

Posted by mmrs151 on Stack Overflow See other posts from Stack Overflow or by mmrs151
Published on 2010-04-19T16:21:05Z Indexed on 2010/04/19 16:23 UTC
Read the original article Hit count: 175

Filed under:
|

Hi folks,

I have a set

set(['booklet', '4 sheets', '48 sheets', '12 sheets'])

After sorting I want it to look like

4 sheets,
12 sheets,
48 sheets,
booklet

Any idea please

© Stack Overflow or respective owner

Related posts about python

Related posts about django