Ex3.6

Write a program to sort a stack in ascending order. You should not make
any assump- tions about how the stack is implemented. The following are
the only functions that should be used to write this program: push |
pop | peek | isEmpty.