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

> With ASCII lexicographic ordering, photo01 would come before photo1.

Good catch. I did not closely inspect the ordering initially presented, which was:

  photo1 photo01 photo001 photo0001 photo2
This does not represent a valid sort order based solely on file names produced by `ls`, which would be:

  photo0001 photo001 photo01 photo1 photo2


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

Search: