[- $fdat{aa} = 11 ; $fdat{bb} = 22 ; $fdat{cc} = 33 ; $fdat{dd} = 44 ; $t = 1 ; $f = 0 ; -] [- @ks = sort keys %fdat -]
[+ $ks[$row] +]
[+ $fdat{$ks[$row] || ''} +]
[$if $t $]
[$endif$]
[+ $ks[$row] +]
[+ $fdat{$ks[$row] || ''} +]
[$if $t $]
[$endif$] [$if $f $]
[$endif$]
[+ $ks[$row] +]
[+ $fdat{$ks[$row] || ''} +]
[$if $f $]
[$endif$]