SetOrder() has been called for an attribute, which is not an enumeration attribute. Only enumeration attributes may change order.