❄️ Winter Sale - Ends Soon! ❄️ Take 50% off your first 6 months! (new subscribers only, renews at regular price).
Join the Treehouse affiliate program and earn 25% recurring commission!
✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
Bummer! You have been redirected as the page you requested could not be found.
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.