diff --git a/src/pyconverter/xml2py/writer.py b/src/pyconverter/xml2py/writer.py index 24123974d..7f1f70a73 100644 --- a/src/pyconverter/xml2py/writer.py +++ b/src/pyconverter/xml2py/writer.py @@ -630,7 +630,7 @@ def write_docs( """ - for python_command_name in method_list: + for python_command_name in sorted(method_list): class_content += f" {class_name}.{python_command_name}\n" # Write the class file