Python Plugin: Decorator Ordering

I’ve noticed when I add decorators in a plugin, they do not appear in the same order they appear in the code. Is there a way to determine the ordering of the decorators, maybe some sort of priority variable?

Unfortunately, no. AFAIK, the methods in Python are kept in unordered map so I found the method order keeps on changing each time the module is imported.

The only way is to use xml at the proxy level and then order the properties the way you want in the XML itself. But that forces you to write the entire XML manually.