Group by is not applicable to the PRINT command. In a report grouping (and usually sorting) is performed using breakpoints defined within the Report Writer.
If you have a breakpoint defined in the report you're trying to print that will override the ORDER BY clause in your PRINT statement. The ORDER BY clause in the PRINT statement is only used if the report itself has no breakpoints. -- Larry

