small change to sortStack, etc

left some testing values in previous