[% SET ll = [ {'a' => 9}, {'a' => 1}, {'a' => 3} ] -%] [%- FOR hash = ll.sort('a') -%] [%- hash.a -%]: [%- END -%]