# UserDefinedVariableOrdering¶

getVariableOrder() returns [[b1, ..., bm], [a1, ..., an]] such that the ordering on the variables was given by setVariableOrder([b1, ..., bm], [a1, ..., an]).
resetVariableOrder() cancels any previous use of setVariableOrder and returns to the default system ordering.
setVariableOrder([b1, ..., bm], [a1, ..., an]) defines an ordering on the variables given by b1 > b2 > ... > bm > other variables > a1 > a2 > ... > an.
setVariableOrder([a1, ..., an]) defines an ordering on the variables given by a1 > a2 > ... > an > other variables.