# UserDefinedVariableOrdering¶

This packages provides functions to allow the user to select the ordering on the variables and operators for displaying polynomials, fractions and expressions. The ordering affects the display only and not the computations.

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