The best way around this i have found, is ALL f my class change buttrons are macros. This lets me change the hud, change the autoface, and sort my gear to keep the mess down. Ill leave a fwd examples below for tank healer and dps.

/macroicon 1 gearset
/gearset change 1
/hudlayout 1
/autofacetarget on
/wait .5
/isort condition armoury ilv des
/isort execute armoury

/macroicon 5 gearset
/gearset change 5
/hudlayout 2
/autofacetarget off
/wait .5
/isort condition armoury ilv des
/isort execute armoury

/macroicon 8 gearset
/gearset change 8
/hudlayout 3
/autofacetarget on
/wait .5
/isort condition armoury ilv des
/isort execute armoury