Comfy-Org / Comfy-Org/ComfyUI_frontend

Sorting workflows is not intuitive

Open
#6,434 1 comment 0 reactions 0 assignees View on GitHub
area:ui area:workflows Potential Bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Expected Behavior

In the following capture we see how workflows are sorted under the pixaroma folder.

![Image](https://github.com/user-attachments/assets/ae33973b-72c4-408e-980f-3b753eb2906b)

Desired/expected order (from top to bottom):
- 3, 4, 18, 19

Actual order:
- 18, 19, 3, 4

I suppose this is because the sorting algorithm does a char by char sorting, however as a human 18 being greater than 3 i would expect it below.
Feature suggestion: have multiple workflows sorting algorithms (as different users might have different needs) and have the option to choose them in the gui settings.

UPDATE=====
sorry it's not a "potential bug" (label on the right), just a minor gui annoyance, please move this to wherever it fits best.

### Actual Behavior

see previous post

### Steps to Reproduce

see previous post

### Debug Logs

```powershell
see previous post
```

### Other

_No response_

---

*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/6618*

Original issue was created by @lingtalfi at 2025-01-27T15:26:31.000Z

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6434-Sorting-workflows-is-not-intuitive-29c6d73d365081f1b657e3ba5f4d8472) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.