Skip to content

Add “Load Image Dataset from Folder (Sorted)” node with filename ordering controls #9625

@rslosh

Description

@rslosh

Feature Idea

I’d like a folder-based image loader node that mirrors LoadImageSetFromFolderNode but adds deterministic filename sorting before batching. This helps ensure reproducibility and predictable ordering

Proposed behavior:

Input:

folder: dropdown of ComfyUI/input subfolders
resize_method: None, Stretch, Crop, Pad (same as existing)
sort_order: Ascending, Descending, None
natural_sort: boolean (so img2.png comes before img10.png)
case_sensitive: boolean

It reuses load_and_process_images, so image preprocessing remains identical.
Sorting is applied to the file list prior to loading.

Existing Solutions

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureA new feature to add to ComfyUI.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions