This commit is contained in:
Hundrec 2025-04-04 16:40:38 -04:00 committed by GitHub
commit c2a3f44663
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -808,13 +808,12 @@ class FreeplayState extends MusicBeatSubState
case ALL:
// no filter!
case FAVORITE:
// sort favorites by week, not alphabetically
songsToFilter = songsToFilter.filter(filteredSong -> {
if (filteredSong == null) return true; // Random
return filteredSong.isFav;
});
songsToFilter.sort(filterAlphabetically);
default:
// return all on default
}