gregmarine at gmail.com
Sun Jan 14 11:14:47 PST 2007
Thank you for your response. However, the issue I am having is in the sort
order of the files and directories on my Linux box. In Windows, the sort is
alphabetical. But in Linux, there doesn't appear to be any rhyme or reason
to the order in which the files and directories are returned by readDir(). I
want to have it sorted alphabetically.
On 1/14/07, Pete Collins <pete at mozdevgroup.com> wrote:
> Greg Marine wrote:
> > Hello,
> > I'm having a sorting issue with the readDir() method of the Dir
> > module. On WinXP, the files/folders are in alphabetical order.
> > However, in Linux it won't sort alphabetically. I even attempted to
> > correctly. Is this a bug?
> > I appreciate your help!
> The platform shouldn't matter since readDir returns a js array of the
> entries ...
> The entries are js File objects.
> var e = d.readDir();
> Hope this helps ...
> Pete Collins - Founder, Mozdev Group Inc.
> Mozilla Software Development Solutions
> tel: 1-719-302-5811
> fax: 1-719-302-5813
> Jslib mailing list
> Jslib at mozdev.org
Internet Community Church Ministries
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Jslib