I tried
expr = a^2 - a b + b^2 - a c - b c + c^2;
HoldForm[+##]&@@MonomialList[expr,#]& /@ {
"Lexicographic","DegreeLexicographic",
"DegreeReverseLexicographic","NegativeLexicographic","NegativeDegreeLexicographic",
"NegativeDegreeReverseLexicographic"
} // Column
and The ordering problem of multivariate polynomials.
Neither not get the expected result. How can I get the result $a^2+b^2+c^2-a b-b c-c a$?