There isn't really any grouping functionality. What you can do though is have hierarchical work items and use a tree query. You can specify the tree level in the layout to apply a different format to "header" work items. There are a couple of examples of how to do this in the built in layouts, take a look at the "Simple With Headings" layouts.
Regards
Rob
Regards
Rob