Correct order pdf subtotals