RE: Repobrowser - Numeric order filename sorting
From: Gerasimov, Ivan <Ivan.Gerasimov_at_transas.com>
Date: 2006-04-12 15:02:04 CEST
Hello, Joakim!
> I haven't studied your function, so maybe it takes care of this
The first version of the routine I've posted here wouldn't put such strings in the correct order, due to the problem mentioned by Hans-Emil.
Well, your example would be sorted correctly. But v1m3b2, for example, would go after v1m30b4, even though it should be before.
The second version of the routine, I've just posted, handles it properly.
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.