Need a strange sort method...

Fredrik Lundh fredrik at pythonware.com
Mon Oct 16 14:30:06 EDT 2006


SpreadTooThin wrote:

> I have a list and I need to do a custom sort on it...

> Its more like
> 1 4 7 10
> 2 5 8
> 3 6 9

that's trivial to do with slicing, of course.  what makes you think you 
need to do this by calling the "sort" method ?

</F>




More information about the Python-list mailing list