Click on the Sort Lines option, on a sales record. As below, you can use the Buttons to automatically sort in a specific order, or you can Click and drag your items yourself. Click Save Changes..