Linus Nielsen Feltzing wrote:
Bryan VanDyke wrote:
1. Numbers sort before Non-numbers.
- Leading zeros are striped. A leading zero on a zero is still zero.
- 000 becomes 0.
- Some of the code that has been used has trouble with this.
2. Lesser number before greater.
- 1,2,3,4 etc
3. Anything else strcmp.

Sounds simple and sane, and seems to be the way Windows Explorer works as well.

Linus

Well, this is what SVN does, currently. And if we we want 02 after 1, just a (relatively) small modification is needed, without messing up decimal numbers like 1.02 and 1.1

Reply via email to