Change the row sorting properties when you want to sort the output in a template based on rows. Sorting properties are determined by the Sort type of the row and how you set the sort order for value fields for the row in question.
The default sort type is to combine similar rows so that only the last one of them is output.
To modify the sort type of the row:
If you click Combine or Distinct, you must also select which value fields affect the sorting and how.
If you click Combine, you can also automatically get calculated sums of the information on combined lines.