MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/tjyg2c/sort_using_js/i1nspko/
r/ProgrammerAnimemes • u/bucket3432 • Mar 22 '22
77 comments sorted by
View all comments
Show parent comment
3
Just toss the array values to another array as its index, then remove the null indexes on the array to get a sorted array! /s
2 u/bucket3432 Mar 23 '22 Just stuff the array values as setTimeout delays and have the callback insert the value into another array to get a sorted array! /s
2
Just stuff the array values as setTimeout delays and have the callback insert the value into another array to get a sorted array! /s
setTimeout
View all comments
Show parent comment
3
u/MrWm Mar 22 '22
Just toss the array values to another array as its index, then remove the null indexes on the array to get a sorted array! /s