>Hi Ed:
>
>Do you mean setup a procedure program to run report?
Somehow, you're getting the data set to display. If you're creating a cursor from a table and reporting based on that cursor, you have to put the records in order for the report to process - either add an ORDER BY clause to the SQL SELECT, or create an index to access them in the order you need.
If you're working directly from a table that has an index tag which sorts them as desired, use that index tag through the SET ORDER command before running the report, or set it in the Report's DE if you use a DE.