Associate family parameter in a family

I honestly have no idea what would cause instances of the same element types to return the parameters in a different order. Looking at the for loop for elemAssoc and famAssoc, I would assume it would return the parameters in the same order because of the input search names. And I’m not sure why it would be occurring for you, but not for me, with the same file, lol. In any case, would you try this script? It creates a dictionary for element and family parameters to create the elemAssoc and famAssoc lists, so they should return in the same order