sorting a stack--just can't spot the error

Printable View