How to sort a list of strings on a substring

n00m n00m at narod.ru
Mon Oct 5 23:33:51 EDT 2009


> No, that's incorrect. Try it with this data and you will see it fails:

Of course, you are right, but I think the topic-starter is smart
enough
to understand that I suggested only a hint, a sketch, a sample of how
to use "key=" with "lambda", not a ready-to-apply solution.



More information about the Python-list mailing list