How to Sort this array

Bengt Richter bokr at
Thu Oct 31 03:54:19 CET 2002

On Sat, 26 Oct 2002 06:23:47 +0000, "Hai Wu" <haiwuhaiwu at> wrote:

>How to sort an array with numbers like 021025_11441 in it? It needs to be 
>sorted first by the number before '_', then sorted by the number after '_'? 
>How to do it using a customized sort function?

Bengt Richter

More information about the Python-list mailing list