Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would have assumed it worked the same as ls, so I found the article interesting. But now that I know, I think this way is better.

I can’t think of any case where I would need purely alphabetical sort. In most photo browsing apps, photos will be sorted by timestamp rather than filename. If I really needed it to sort properly in file explorer, I would try sorting on created date. And failing that I would probably just normalize the file names.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: