MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/tjyg2c/sort_using_js/i1ria05/?context=3
r/ProgrammerAnimemes • u/bucket3432 • Mar 22 '22
77 comments sorted by
View all comments
Show parent comment
32
By default, sort treats the array elements as strings and will sort in UTF-16 code unit order.
sort
Wow
View all comments
Show parent comment
32
u/Widowan Mar 23 '22
Wow