Reorder attributes in Maya, drag and drop the attributes into the desired order. Only user defined attributes can be reordered.


Copy the rjReorderAttr folder to your Maya scripts directory:



Add the interface and functionality to Maya:

import maya.cmds as cmds 
cmds.evalDeferred("import import rjReorderAttr; rjReorderAttr.install()")

This line of code can also be added in the if you would like the functionality to persist.

Display UI:

import rjReorderAttr.ui


If the install command is used a button called Reorder Attributes will be added to the Channel Box - Edit menu. If this is not the case the UI can be opened with the show command. Drag and drop the attributes to reorder. Attributes are deleted in the new order and the undo commands is then ran to redo the attributes in the order preferred. A thank you too Nick Hughes for showing me the power of the undo command and how it can be used to sort attributes.