![Simple Proc Print trick for grouped data](https://blogs.sas.com/content/sastraining/files/2017/10/newsletter-icon-code-o.jpg)
Here's a Proc Print trick for grouped data. Suppose your data is divided into groups, such as males and females. You could sort by the grouping variable before printing, like this: Suppose you want to better emphasize the groups. You could add a BY statement, like this: OK, but, personally,