Make two list match order

I’m trying to get values from one parameter transfered over to another in a family with several types. When I try the scipt below I get values that do not match the type they are supposed to be in. The order that the dictionary created by parameter.GetValue is the order that is being applied to the family types but the types are ordered differently. G-90 is first folowed by G-95 and so on.

Dynamo%20list%20sorting%2001

Before anyone comments I know that I can put a List.SortNatural node on here to get it to match the family types. However I want another method for instances where the value doesn’t fall nicely into the same order as the family type.

Before anyone post still I think I fixed it by using levels on the familyType input on the Parameter.GetValue.