If x is not null, first order the columns of the matrix in ascending or descending degree (depending on x). If x is null, then only use the monomial order in the sort
Caveat
This option only works for sorting columns of a matrix, not the elements of a list
Functions with optional argument named DegreeOrder: