Hello, I can't seem to sort or sort_by (account[0...
# advancedpdf
s
Hello, I can't seem to sort or sort_by (account[0]) . Any help would be appreciated:
Copy code
<table page-break-before="always">
  <tr>
    <td align="center" id="group" colspan="6"><b>TOTALS BY GL ACCOUNT, SUBSIDIARY, AND PAYMENT TYPE</b></td>
  </tr>
  <#list accounts![]?sort><#items as account>
    <tr>
      <td>${account[0]}</td>
      <td>${account[1]}</td>
      <td>${account[2]}</td>
      <td>${account[3]?string.currency}</td>
    </tr>
  </#items></#list>
</table>