Crystal report prints data not select.

SUGGESTED

Created a customized Accounts Receivable Invoice History Report that is to be sorted by a UDF.  Parameter comes up and asked for the UDF and  I choose one and then the report prints all UDF records.

Any suggestion on where to look to see why the sort is not working.

Thanks for helping.