outline-style sorting algorithm

Richard Livsey richard at livsey.org
Tue Apr 20 05:05:58 EDT 2004


Peter Otten wrote:

> Michael Geary wrote:
> 
>>Interestingly enough, in Windows XP, Windows Explorer lists these files in
>>numerical order:
>>
>>file1
>>...
>>file9
> 
> Seems they special-cased this. Can they deal with
> 
> fi1le
> fi2le
> fi10le
> 
> and
> 
> 1file
> 2file
> 10file
> 
> too?

I just checked and yes, these are sorted as expected (in the order you 
list).

-- 
R.Livsey
Incutio Web Developer
www.livsey.org
www.incutio.com




More information about the Python-list mailing list