The proper approach to categories

Right, I guess I overlooked the select field in the reference (I guess because they are structured by row and not by column).
Thanks, I didn’t think of groupBy(). There are so many methods and properties and what not, it’s hard to know which one could even apply.

Now, groupBy works nicely to get the field value. Trying this I realized, I need additional formatting (bold/italic etc.) if I’m using the category names as headings. I suppose the select field just isn’t the right choice in that case? I guess I’ll have to resort to a structure field with a writer field for the formatted text, or do you have any better suggestion?