An important usage of parameters is to use them to dynamically group and sort data in a report, which enables you to specify the grouping and sorting conditions at runtime according to the varied requirements.
For details, refer to the sections Grouping data dynamically and Sorting data dynamically.