Grouping and Sorting elements

I’m trying to group and sort a list of elements by a parameter name using the “List.SortGroupByKey” node from Orchid but the the Grouped list just returns a bunch of the same element, am I using the node wrong? or is something with my graph that is throwing it off? Can you guys give me suggestions on how to get it working properly or other nodes I can try to accomplish my goal? any suggestion is greatly appreciated, Thanks!

I’m not familiar with that node but it looks like you need another input. I’m guessing it just combines the Sort and Group ByKey nodes so it would be looking for the elements, their keys, and then their sorted keys. Your list lengths don’t match either which will definitely be a problem. No need for UniqueItems.

No need for a custom node that I can see.


Thanks, it worked!

1 Like