try rat((x+y)^3,x) or rat((x+y)^3,y), which ever you prefer. Gosse Michel wrote: >Hello > >i would like to sort >expand((x+y)^3); >for the variable x, and not for y as maxima does. >How can i do that ? > >Best regards > >