Error with creating filters and keys with sheets

Hi all, I have a bit of script I am trying to work with. I am attempting to filter certain sheets out of the sheet list within a project file but I keep getting the error below.

Here is the whole script

am I right in thinking im going to need to start and end the filter and include the sheet list from the first node before plugging it into the List sort by key node?

I have been attempting to find a work around but cant seem to come across any solutions. If anyone could help I would appreciate it.

Let me know if you need more info

Thanks in advance

Hi @Dylan.hB2 your list lengths dont match… Try feeding your sheets into the filter… alternately this may help also …

good luck

1 Like