michoel
10/05/2018, 8:04 PM<#assign prevGroup = "">
<#list record.item?sort_by("fieldtogroupby") as item>
<#if item.fieldtogroupby != prevGroup>
// Group header here
<#assign prevGroup = item.fieldtogroupby>
</#if>
// Print lines here
</#list>