
🤑 Join the Treehouse affiliate program and earn 25% recurring commission!
Join our free workshop and get a Treehouse discount code! 💼 Register here!
New No-Code Track! 🚀 New videos dropping every week—start learning today!
🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀
✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
Bummer! You must be logged in to access this page.
Have you ever needed to sort an array in alphabetical order? Or what about sorting an array of players based on their scores? The sort() JavaScript array method can do this with ease, though there are a few pitfalls you have to keep in mind. Follow along as Dustin explains how to incorporate this method into your projects to sort your data efficiently.
Dustin is a passionate developer, lifelong learner, and Technical Evangelist for Treehouse.