Ssrs 2012 report can have page break parameter set up based upon the 'sort' parameter value that is selected

I would like to know how ssrs 2012 report can have page break parameter set up based upon the 'sort' parameter value that is selected.
In a new ssrs 2012 report, I need to setup a page break based upon the sort parameter that a user requests.
Basically the sort parameter values are an integer value the parameter values are the following:
parameter value = 0 means sort the student name alphabetically,
parameter value = 1 means sort by the grade level of the student,
parameter value = 2 means sort by the 'team' the student is assigned to,
parameter value = 3 means sort by the Homeroom teacher name the student is assigned to,
parameter value = 4 means sort by the Homeroom number that the student is assigned to.
The default value = 0 where the means sort the student name alphabetically.
I will have a page break parameter that default value is a 'text' value = 'False' which means 'No',
There will be a page break parameter value = 'True' which means 'True'.
The 'main' dataset that is brought in has all the information that can be selected in the sort by a
unique student number.
The data appears in a 'table' object. Each item in the table has 'group' level properties that I can see
sort and page break properties that can be selected.

found answer