create new Sales Order form where lines print in correct order

SOLVED

I need to create a sales order form for KnowledgeSync. I can't get the lines to print in the correct order.

The standard sales order form created from the sales order work table has a "Group" that I'm assuming is what gets order lines to print as displayed on screen.

what is this "Group" field? or is there another way to get the detail to print as displayed?