Hi Sandy,
See attached script: MovePKAttributes.txt (1.8 KB)
I use Move method from Attributes list in this script.
Other way is using this:
Attributes.InitSort();
var temp = Attribute1.Ordinal;
Attr1.Ordinal = Attr2.Ordinal;
Attr2.Ordinal = temp;
Attributes.Sort(); //command to sort list by Ordinal value
Regards,
Mario