Listing the Songs in Ascending Order

In this lesson, we’ll discuss how to list the songs in ascending order by title.

Creating a test for listing songs in ascending order

Let’s define a sortedSongs property that will hold the sorted list of songs derived from this.model.songs. The model of this route is the band object.

Get hands-on with 1200+ tech skills courses.