Clean up sort

This commit is contained in:
Cj Malone 2016-11-19 17:54:43 +00:00
parent 909aea006c
commit 8c901bb640
1 changed files with 2 additions and 2 deletions

View File

@ -1063,7 +1063,7 @@ public final class DBReader {
// reverse natural order: podcast with most unplayed episodes first // reverse natural order: podcast with most unplayed episodes first
return -1; return -1;
} else if(counterLhs == counterRhs) { } else if(counterLhs == counterRhs) {
return lhs.getTitle().toLowerCase().compareTo(rhs.getTitle().toLowerCase()); return lhs.getTitle().compareToIgnoreCase(rhs.getTitle());
} else { } else {
return 1; return 1;
} }
@ -1077,7 +1077,7 @@ public final class DBReader {
} else if(t2 == null) { } else if(t2 == null) {
return -1; return -1;
} else { } else {
return t1.toLowerCase().compareTo(t2.toLowerCase()); return t1.compareToIgnoreCase(t2);
} }
}; };
} else { } else {