in reply to •Re: sorting an array with an array
in thread sorting an array with an array

1 file for each day of the year

Your first case assumes one file per month (well, it doesn't sort within each month, which was requested). Your second case doesn't deal with the possibility of a lack of leading zeros in days of the month.

        - tye (a leading zero himself)
  • Comment on (tye)Re2: sorting an array with an array