Generally, it's good practice to not implement Comparator in the actual model object, because it pushes business logic into the model objects.  It might be better to either create this as an anonymous inner class in MusicLibraryService, or create this as a separate class that's used in MusicLibraryService.