Sort order of dirEntries

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Oct 24 17:15:06 PDT 2012


Hello all,

I've just been playing with dirEntries and by the looks of it, it returns these 
entries in arbitrary order.

Is there a way to get it to sort the entries in alphabetical order, other than 
the obvious one of storing them in an array and sorting that?  (This is 
untenable because I'm talking about a lot of files...:-)

Thanks and best wishes,

     -- Joe


More information about the Digitalmars-d-learn mailing list