Thanks <@U29QCJQF3> i used this code to sort lines...
# advancedpdf
s
Thanks @michoel i used this code to sort lines by Line id <#list record.item?sort_by("line") as item>