official answer
a piece of cake
use a buffer stack to sort a stack