in reply to Sort a hash of hashes by value in template toolkit
There's probably a way of doing what you want in TT, but I'd personally avoid doing that and do the sort in perl. So you could populate an array with the data sorted in the order you need, then use a simpler piece of TT to do the output.
In general, I'd advise keeping the TT as simple as possible and doing as much as possible in perl.
|
|---|