From cbe00b4c770cc4d57cdd4ab8e2b1b5c4a961a57f Mon Sep 17 00:00:00 2001 From: Martin Fietz Date: Sat, 19 Nov 2016 14:56:25 +0100 Subject: [PATCH] Also compare drawer items with same counter value case-insensitive --- .../main/java/de/danoeh/antennapod/core/storage/DBReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java index 9a7b2c852..8c8e8f029 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java +++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java @@ -1063,7 +1063,7 @@ public final class DBReader { // reverse natural order: podcast with most unplayed episodes first return -1; } else if(counterLhs == counterRhs) { - return lhs.getTitle().compareTo(rhs.getTitle()); + return lhs.getTitle().toLowerCase().compareTo(rhs.getTitle().toLowerCase()); } else { return 1; }