diff --git a/app/src/main/java/com/github/libretube/ui/fragments/LibraryFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/LibraryFragment.kt index 5a43be31d..325b33916 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/LibraryFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/LibraryFragment.kt @@ -116,8 +116,8 @@ class LibraryFragment : BaseFragment() { ) { "recent" -> playlists "recent_reversed" -> playlists.reversed() - "name" -> playlists.sortedBy { it.name } - "name_reversed" -> playlists.sortedBy { it.name }.reversed() + "name" -> playlists.sortedBy { it.name?.lowercase() } + "name_reversed" -> playlists.sortedBy { it.name?.lowercase() }.reversed() else -> playlists }