in reply to Sort files descending by date

 $b->[1] is not what you think. Its the year, which is 2007 for all.