Skip to content
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

NEW FEATURE Suggestion: Alphabetically ordering of a list #43

Closed
bloggy opened this issue Apr 4, 2016 · 5 comments
Closed

NEW FEATURE Suggestion: Alphabetically ordering of a list #43

bloggy opened this issue Apr 4, 2016 · 5 comments
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Comments

@bloggy
Copy link

bloggy commented Apr 4, 2016

I need a function to alphabetically order a list like this:

{test::1} = "Anton"
{test::2} = "Berthold"
{test::3} = "Zafer"

Can you implement something like this? Would be awesome!

@bensku
Copy link
Member

bensku commented Apr 5, 2016

It is possible, and might be pretty easy actually... However, it will be very slow no matter how I implement it. I can either

  1. Organize list each time a new value is added, which makes adding values slow
  2. Loop through list each time a value is needed and maybe cache results, which is either slow or very complicated

Soo... Not high priority, sorry.

@bensku bensku added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Apr 5, 2016
@28andrew
Copy link
Contributor

I'll try to add it right now. I just got the project working in my IDE.

@28andrew
Copy link
Contributor

Ignore ff8f77f

bensku added a commit that referenced this issue Jul 15, 2016
Fix #43, add alphabetically sorting of strings
@bensku
Copy link
Member

bensku commented Jul 15, 2016

Done!

@bloggy
Copy link
Author

bloggy commented Oct 20, 2016

May I know the code for this? How would I use it? Example please :)

Nicofisi referenced this issue in Nicofisi/Skript Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

No branches or pull requests

3 participants