Sort a Stack using Recursion

Given a stack, sort it using recursion without using any extra data structures.

Input