Yes, this is a bug --- but I think the bug is in the Struct Maker patch, not the File patches.
Structures consist of two types of lists: array or dictionary. Arrays preserve order and use sequential indices starting at zero; dictionaries use arbitrary keys but don't preserve order (not even alphanumeric order). The Struct Maker patch is (incorrectly) producing a keyed dictionary, so the order isn't guaranteed upon reading it back in from disk.
As a temporary workaround, you can use Structure Key Member instead of Structure Index Member, and you should get the results you're after.
I'm going to try to do an update to StructureTools in the near future, and will address this issue.
Yes, this is a bug --- but I think the bug is in the
Struct Maker
patch, not theFile
patches.Structures consist of two types of lists: array or dictionary. Arrays preserve order and use sequential indices starting at zero; dictionaries use arbitrary keys but don't preserve order (not even alphanumeric order). The
Struct Maker
patch is (incorrectly) producing a keyed dictionary, so the order isn't guaranteed upon reading it back in from disk.As a temporary workaround, you can use
Structure Key Member
instead ofStructure Index Member
, and you should get the results you're after.I'm going to try to do an update to StructureTools in the near future, and will address this issue.
I missed this response for some reason. Thanks for that, very helpful.