Sort a stack

Sort a stack to ascending order.

you cannot use another type of data structure like array but you could
however use another stack.