Re: sorting by name

On Wed, 3 Dec 2008 12:37:34 +0100
"pawel piatek" <997.1009@xxxxxxxxx> wrote:

> To be more precisely, it happens when a file name begins with two or more
> digits. For example try create thees three files:
> 6f3c83b5
> 7f9839a4
> 25v666a
> and sort them by file name.
> 
> pawel
> 

I believe this is intentional in order to support sorting numerical increases 
that have no leading zeros. E.G.: 

01.mp3
02.mp3
3.mp3
04.mp3

Emelfm2 sorts it like this, and I don't really see a reason to attempt to 
change that.

Walther.

> 2008/12/3 <tpgww@xxxxxxxxxxx>
> 
> > On Tue, 2 Dec 2008 10:50:54 +0100
> > "pawel piatek" <997.1009@xxxxxxxxx> wrote:
> >
> > > Sorting by file name doesn't work if a file name begins with a digit.
> > > (0.4.1)
> > > pawel
> > I've never seen or heard of such a problem until now.
> >
> > Name-sorting revolves around a glib function which "us[es] the
> > linguistically correct rules for the current locale" (to quote the glib API
> > docs).
> >
> > I suppose those rules are part of your LC data. Problems if the rules are
> > not set as you want or expect.
> >
> > Regards
> > Tom
> >
> >
> > --
> > Users can unsubscribe from the list by sending email to
> > emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or
> > by logging into the web interface.
> >


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: