RE: Re: Repobrowser - Numeric order filename sorting
From: Gerasimov, Ivan <Ivan.Gerasimov_at_transas.com>
Date: 2006-04-11 13:57:31 CEST
Hello, Russell!
> >
Please, take a look at the routine itself. It doesn't _handle_ any separators at all. It only finds the position in compared strings, where they are different. If it turns out that there are numbers at that position in both strings, it compares the numbers. Otherwise, the routine compares the literals.
> FWIW, we then to use Year-Month-Day in filenames even though our locale
Well, so do I. I don't think anyone would expect that a program is smart enough to recognize date or time or whatever in a filename.
The only sorting orders a user might expect are alpha or numeric.
Sincerely yours,
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.