* Simplify code by dropping support for legacy Python * sort() --> sorted()
The method returns the truth when the stack is empty