CVHub520 / X-AnyLabeling

Effortless data labeling with AI support from Segment Anything and other awesome models.
GNU General Public License v3.0
4.26k stars 484 forks source link

label name sort not in order #627

Closed Twenty3hree closed 1 month ago

Twenty3hree commented 2 months ago

Search before asking

Description

things not go well, when object 0, 1, 2, 3, ..., 10, 11, ..., 21

order will be 0, 1, 10, 11...

hope fix~ good work!

1726136977463

Use case

No response

Additional

No response

Are you willing to submit a PR?

CVHub520 commented 2 months ago

👋 Hi @Twenty3hree! Thank you for bringing this to our attention and for your suggestion. 🙌

I've implemented natural sorting for the QListWidget labels, which should address the issue you've pointed out. The labels will now be sorted as 0, 1, 2, ..., 10, 11, ... instead of 0, 1, 10, 11, 2, 3, ...

This change has been committed to the repository. 🎉

Could you please update to the latest version and verify if this solves your problem? If you encounter any issues or have any further suggestions, please don't hesitate to let me know.

Your feedback is invaluable in helping us improve X-AnyLabeling. Thank you for your contribution to the project! 🚀