stacksorts like a boss