On Oct 14, 10:52 am, Phrogz <phr... / mac.com> wrote:
> On Oct 13, 7:50 pm, Brian Adkins <lojicdot... / gmail.com> wrote:
>
> > Hmm.. it just occurred to me that many of the solutions presented here
> > have the flaw of potentially calling File.atime() multiple times for
> > the same file which would require unnecessary calls to the operating
> > system to get the access time of the file.
>
> Really? Which ones?

Uh, those would be mine :( Moot point though (see other post).

> You do realize that #sort_by is explicitly
> designed to call the comparison method exactly once for each object,
> right?

Actually, I had missed that. Thanks for pointing it out. This seems to
be a case where sort_by is certainly warranted.