change output sequence