After some working, StackSort is not working