From 158fbed0810fd1ff9a7000b85b5f8c3dc47286f5 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 20 Aug 2023 23:16:47 -0700 Subject: [PATCH] Fix sorting for missing columns This should fix the sorting for rating, sample rate and bits per sample Signed-off-by: Christopher Snowhill --- Playlist/PlaylistController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 64f2df006..ca289cb60 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -657,6 +657,9 @@ static void *playlistControllerContext = &playlistControllerContext; case 10: case 11: case 12: + case 13: + case 14: + case 15: sortDescriptor = [[NSSortDescriptor alloc] initWithKey:[tableColumn identifier] ascending:ascending selector:@selector(caseInsensitiveCompare:)]; sortDescriptors = @[sortDescriptor]; break;