# Exercise: Sort the Music Library

Exercise: Sort the Music Library: Exercise: Sort the Music Library.

Updated: November 17, 2026

1. [Exercise: Sort the Music Library](https://www.ask-codey.com/lessons/exercise-ds-sort-music-library) (Journeyman): A music app's library view takes a minute to sort 50,000 imported songs, and tied songs swap places between refreshes: write the comparison, a hand-written sort that's fast and keeps ties in order, and the built-in sort to check it against, and let the tests check them, ties and the 50,000 songs included.

Source: https://www.ask-codey.com/courses/data-structures/topics/exercise-ds-sort-music-library
