Well, I suppose it might seem like nonsense, but I don't think it is. The
thing is that there does _not_ exist a single correct way to sort files. So
 how should they be sorted? The best choice is IMHO to sort them according
to the system's default. Not only is it the way the user has actually
chosen to have their files sorted (even if they might not always be aware
of it), but it is also the same way that the user's standard tools sort the
files, which should lead to the minimum possible confusion. Sure, one could
argue that some locales have a "strange" way of sorting numbers, but such
an argument is based on personal experience on how numbers should be
sorted. The whole purpose of the locales is to try and maximize the number
of users who automagically get things the way they are used to and think is
natural. Whether or not some locales make sense or not I can not answer,
but I believe that the creators of them (who I assume have some sort of
expertise on the subject) have made choices that suit the world's
population better that forcing "C" or "POSIX" on everyone.

In the case of numbered files made for distribution (such as scanned comic
books), the filenames should _always_ be padded with leading zeroes so that
all filenames have the same length. That is the only way to assure that
they will be read in the correct order on all operating systems and by all
applications (except for the raving mad ones of course). Naming files in
this way is common sense, and if they are not, then the packager has made a
mistake and the files should be renamed. Simple as that.

So finally, of course everyone can't be made happy. As a matter of fact
this bug was originally opened because Comix did _not_ sort files according
to the LC_COLLATE settings, but instead always used the "C" sorting.
Someone thought that was a bug and filed a report, now you reopened it but
wanted to accomplish the exact opposite, so there are obviously mixed
feelings. The only thing I can do is to have it the way *I* think is best,
you are of course free to try and persuade me to change, but I can't
promise that you will be successful. ;-)

Cheers,
Pontus


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to