Using the node List.GroupByKey you can group your items by a specific key, in your case the size of the sheets.
In order to only get the keys from a specific size I recommend using a dictionary for this, there are also other ways, without having to create dictionaries to do this but I find using dictionaries to be really helpful, especially when working on a script later on.
Could you please explain what you don’t understand?
Through the List.GroupByKey node and the following Dictionary your sheets are already grouped by the strings representing sheet sizes, and can therefor also be easily be filtered by the size of the sheet.
–
If you want to create a list of titleblocks from the sheet size strings you’ll have to create a 1 on 1 mapping with a Dictionary where all the possible sheet strings are the keys and the values are the corresponding titleblock family types.