finished sort function in MusicModel class