You can start by ordering the data by group. There are around 100 expressions ready made in the builder and you can put new ones anywhere you like.
You can create new ones, edit existing ones or you can copy them (clone button).
If one of the existing expressions suits your needs you can choose it, press the Select button and it will be copied in the Expression Text box.