Sort sheets by Sequence Group and then Sheet Number for PDF

Hi All,

I’m trying to bring in a viewset of sheets so that I can sort them by sheet sequence group for a combined PDF. I’m able to bring in the views and sort them by sheet sequence group, but then they are still organized by element ID instead of by sheet number. I’d like to sort the groups of sheets in the “GroupByKey” node by sheet number, similar to the project browser.

The issue is when I try to sort the list by sheet number after sorting by sheet sequence group, the node returns “null” instead of a sorted list.

Any thoughts would be greatly appreciated!

Here’s the ideal order of the sheets, as seen in the project browser.

Sheet Project Browser

Remove the list.sort and go directly from the Element.GetParameterValueByName to the List.SortByKey node. Set lacing to longest too.