-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no clean optimized and fast way to sort StringArray #5202
Comments
This issue still seems to be relevant as of b030834. Only Array has |
In 4.0 pooled arrays already have |
Indeed; this can be fixed by backporting #32144 to |
OK, I can dig into it and see what we can do 🙂 |
Fixed by #55650. |
Operating system or device - Godot version:
official 2.0.3stable win64
Issue description (what happened, and what was expected):
Currently, the only way to sort a
StringArray
is to convert it back into anArray
to.sort()
it, then convert it back to a newStringArray
.Maybe it would be more optimized to have
StringArray.sort()
andStringArray.sort_custom()
methods ?Steps to reproduce:
Link to minimal example project (optional but very welcome):
The text was updated successfully, but these errors were encountered: