in reply to Sort in Template Toolkit broken?

[% FOREACH file = dir.files.sort %]

Shouldn't that be

[% FOREACH file = dir.files.sort('name') %]
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^2: Sort in Template Toolkit broken?
by holli (Abbot) on Nov 24, 2005 at 17:06 UTC
    I've just tried that. It's still unsorted.


    holli, /regexed monk/