Sorting Last-In-First-Out Stacks