diff --git a/image.py b/image.py index bb3979b..1891e23 100644 --- a/image.py +++ b/image.py @@ -934,7 +934,7 @@ class ImageApplyLUT: return { "required": { "image": ("IMAGE",), - "lut_file": ([f for f in os.listdir(LUTS_DIR) if f.lower().endswith('.cube')], ), + "lut_file": (sorted([f for f in os.listdir(LUTS_DIR) if f.lower().endswith('.cube')]), ), "gamma_correction": ("BOOLEAN", { "default": True }), "clip_values": ("BOOLEAN", { "default": True }), "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.1 }), diff --git a/text.py b/text.py index 90c9bfb..132ce03 100644 --- a/text.py +++ b/text.py @@ -10,7 +10,7 @@ class DrawText: return { "required": { "text": ("STRING", { "multiline": True, "dynamicPrompts": True, "default": "Hello, World!" }), - "font": ([f for f in os.listdir(FONTS_DIR) if f.endswith('.ttf') or f.endswith('.otf')], ), + "font": (sorted([f for f in os.listdir(FONTS_DIR) if f.endswith('.ttf') or f.endswith('.otf')]), ), "size": ("INT", { "default": 56, "min": 1, "max": 9999, "step": 1 }), "color": ("STRING", { "multiline": False, "default": "#FFFFFF" }), "background_color": ("STRING", { "multiline": False, "default": "#00000000" }),