diff --git a/nodes.py b/nodes.py index 96d9e51a..b2622cbf 100644 --- a/nodes.py +++ b/nodes.py @@ -1838,7 +1838,7 @@ def load_custom_nodes(): node_paths = folder_paths.get_folder_paths("custom_nodes") node_import_times = [] for custom_node_path in node_paths: - possible_modules = os.listdir(os.path.realpath(custom_node_path)) + possible_modules = sorted(os.listdir(os.path.realpath(custom_node_path))) if "__pycache__" in possible_modules: possible_modules.remove("__pycache__")