<div dir="ltr"><div>dirEntries depends on readdir, which has undefined order (eg: <a href="http://stackoverflow.com/questions/8977441/does-readdir-guarantee-an-order">http://stackoverflow.com/questions/8977441/does-readdir-guarantee-an-order</a>, and I've experienced as well dirEntries in non-alphabetical order)</div>
<div><br></div><div>shouldn't we make dirEntries return in alphabetical order by default, with an option to return in unspecified native order for efficiency?</div><div><br></div><div>at least, it should be specified in doc that order is undefined.</div>
<div><br></div></div>