I feel this question may be similar to ask.sagemath.org/question/46502/rearranging-expressions-to-minimize-negative-signs/ but haven't been able to resolve on my own.
If I enter an expression like x = a - b, then print out x to check what I've entered, Sage will output this as [x = ] -b + a. Is there a way for Sage to confirm the input as I typed it, then rearrange it in another step? With more complicated expressions, it takes a lot longer to verify that I haven't made an entry mistake.