In this example, I'll show you how to sort by title, leaving sorting by artist as a learning exercise.
在本例中,我将向您展示如何根据标题进行排序,并将根据艺术家进行排序留作练习。
The code for the third and fourth use cases will be nearly identical, so I'll show you how to sort by title and leave the fourth as an exercise for you to complete on your own.
第三个使用案例和第四个使用案例的代码基本上是相同的,因此我将向您展示如何根据标题进行排序,并将第四个使用案例留作练习,请您自行完成。
As a learning exercise, try writing the code for the fourth use case yourself, but this time, sort by artist rather than by title.
作为一个练习,请自己试图为第四个使用案例编写代码,对艺术家而不是标题进行排序。
应用推荐