Setting the Organizational Structure of the Project

To Group By WBS: Click the "Group by" option > Click "WBS" > Click "Apply"

To Group By Activity Code: Click the "Group by" option and Click "Activity Code".  In the drop-down window, choose the Appropriate Code and then click the "Apply" button.