Kuliza Technology interview question

Sort a queue using push and pop only. No extra space.