-
Notifications
You must be signed in to change notification settings - Fork 238
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
Add sorting blocks to JSON. #723
Conversation
Awesome! (づ>◞ <)づ |
great! however there's two JSON extension poll about sorting. |
yes, I made mine 18hrs before the otherone, but lily wanted the other person to also make a pr. |
I don't think having all those sorting algorithms is necessary |
if it was just sort ascending/descending I would merge this right now |
well lily is already doing ascending + descending in her list extension so it would be as simple as setting the list to the json and then running the sort you want and then just grabbing it, its like 4 blocks |
These still have a place in JSON without using an intermediate list variable Ignore all the merge conflicts and don't bother merging master, I will do that later, if you finish this extension |
would you like me to just comment out the other stuff or fully remove it? |
Minified sorting algorithms are unlikely to be useful as comments |
ok i will update it :D |
removed all the sorting algorithms :(
doneeeeeeeeeeeee |
woohooo! |
Blocks added:
allows you to sort some numbers in ascending or descending order using a algorithm in the dropdown[f1]
allows you to sort letters / words in ascending or descending order.
Sorting option for numbers [f1]:
Difference from list utils version:
(video from @LilyMakesThings)
https://github.com/TurboWarp/extensions/assets/135030944/bf13697f-d459-4b25-8d34-2b4b3822a7dd