Dynamo Group and Sort

Hello Forum

I have been able to group a list of sheets based on the parameter value that has been set by the user (Interior Elevation, RCP etc) and this is grouping them using the List.GroupByKey node. I would however like to set the order: Plan, RCP, Exterior Elevation etc…). I have seen Orchid has a node called SortGroupByKey but I cannot figure out how to make it work, or whether this is the right approach. Could anyone help?

Thank you very much for any help.


I have found the correct Orchid node for the job, it is called the List.GroupBySortedKey node. This has worked perfectly. Here is a screengrab of the result.