diff --git a/nodes.py b/nodes.py index be3952ac..547e6fbc 100644 --- a/nodes.py +++ b/nodes.py @@ -640,7 +640,7 @@ class LoadImage: @classmethod def INPUT_TYPES(s): return {"required": - {"image": (os.listdir(s.input_dir), )}, + {"image": (sorted(os.listdir(s.input_dir)), )}, } CATEGORY = "image"