Sort group help

I’m trying to sort group blocks by an attribute value alphabetically and then within those groups sort by another attribute while maintaining the grouping. I can get the correct groups but they are not sorting correctly.

image

Dynamo is a bit messy here, and I would also pair your objects with the values so they sort together. Here are some examples of sorting/grouping

1 Like

is there not a way to do it with a function instead? I have to putt all the attributes in a list first?

You don’t have to pass parameters if you don’t want

1 Like