So sprach scrapmetaldevil am Thu, Sep 07, 2000 at 06:50:01AM -0400:
> 
> Is it just me, or is this persistent via UNIX/Linux type systems? When listing
> or sorting items by the command ls. kmail, or just about anything, numbers are
> sorted by the first digit.

That's nothing UNIX-special.  What you just noticed is, that the numbers are
sorted in an "alphabetical"/ASCII-way.  Because 1 is smaller than 10, it
comes first.  And because everything starting with 2 is bigger than anything
starting with a 1 it comes after that.

If you have any influence, make sure that the digits are left-padded with
zeroes, so that you have 01, 02, ....  This way you'll get the sort order
you want.

Alexander Skwar
-- 
Homepage:       http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:            7328191

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to