in reply to Re: Getting a list of files in a directory sorted by date
in thread Getting a list of files in a directory sorted by date

The grep expression here looks funny. It seems to say the file must contain a w. Perhaps you meant:
grep { /\w/ }
Phil