How I Learned Javascript To Finally Use Sort Method

Published: 15 February 2022
on channel: DrAlgoDataStructures
7
2

Finally I learned how to reorder an array of objects using the sort method a callback. I was getting killed in this problem because I didn't know to access the string values and compare them do get the result I wanted. Now I understand that the true magic was return 1, -1, or 0 depending on how you'd like the sort to take place. I'm interested in a double sort now :)


On this page of the site you can watch the video online How I Learned Javascript To Finally Use Sort Method with a duration of hours minute second in good quality, which was uploaded by the user DrAlgoDataStructures 15 February 2022, share the link with friends and acquaintances, this video has already been watched 7 times on youtube and it was liked by 2 viewers. Enjoy your viewing!