Sorted methods in StatementVisitor