Sort the stack so the smallest is on top. The only move: slide the spatula under a pancake and flip everything above it.