In your example, I understand creating the parameter value, that way I can change the value using my application. I'm not a Crystal Expert, so I don't quite understand the rest of the formula.
What exactly is Sort1 and Sort2 in your example? Is that something builtin, or do I have to establish it somehow? Last thing, does this handle grouping as well, or is this just an example of sorting?
Sorry for all the questions, but I appreciate all the help!