Question: Sorting by graded reverse lexicographic order (tdeg)

I try to sort a polynomial using the graded reverse lexicograpic order. According to the Documentation this is achieved via tdeg.
So here is what i tried:


sort( x+y+z, order = tdeg(x,y,z));


sort(x+y+z, [x,y,z], tdeg);

In both cases maple returns "x+y+z" instead of the expected "z+y+x". What am i doing wrong?



Please Wait...