You can do that within the advanced pdf template u...
# suitescript
m
You can do that within the advanced pdf template using freemarker. You'll have to iterate through items once, printing only your special item type, then iterate again, sorting by item.item and skipping the special item type.