Continuing with the example report:
From the [Sort data] tab select the sort keys:

Select "direction" as the first sort item.
For the second choose "OutrightPair".
The third is not used, so leave as it is.
Now we will group the report based on the direction, and include a group header.

The group header tab will now appear and be available for you to change.
Next go to the page header.