outline-style sorting algorithm

Peter Otten __peter__ at web.de
Tue Apr 20 04:26:40 EDT 2004


Michael Geary wrote:

> Interestingly enough, in Windows XP, Windows Explorer lists these files in
> numerical order:
> 
> file1
> file2
> ...
> file9
> file10
> file11

Seems they special-cased this. Can they deal with

fi1le
fi2le
fi10le

and

1file
2file
10file

too?

> It would be nice if more OS shells sorted filenames like this.

D'accord.

Peter




More information about the Python-list mailing list