From Wolfram MonomialList[] Documentation
In[]:=
MonomialList[ax^2+bxy+cy^2,{x,y}]
Out[]=
{a,bxy,c}
2
x
2
y
In[]:=
Apply[Plus,%]
Out[]=
a+bxy+c
2
x
2
y
Change the variable order, MonomialList[] works but all is lost in Plus[]
In[]:=
MonomialList[ax^2+bxy+cy^2,{y,x}]
Out[]=
{c,bxy,a}
2
y
2
x
In[]:=
Apply[Plus,%]
Out[]=
a+bxy+c
2
x
2
y