Question: Re-Organizing a Polynomial based on powers

I have a polynomial a large polynomail that I have got from Maple but I need to re-organize this based on powers so I can use it in java they way I need to eg. 12412315 + 1235234X^2 + 32454X^3 + 2400X^4 + 24525434X^5 + 23412452X but I wish to format it as 1 + X + X^2 + X^3 + X^4 + X^5 Is there a way in maple to do this quickly or will I have to deal with this on the java end? Cheers in advance
Please Wait...