Microsoft Interview Question

How to sort a stack?