diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java index 2d9086ea..404091b2 100644 --- a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java +++ b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java @@ -104,6 +104,6 @@ public class PasswordItem implements Comparable{ PasswordItem other = (PasswordItem) o; // Appending the type will make the sort type dependent return (this.getType() + this.getName()) - .compareTo(other.getType() + other.getName()); + .compareToIgnoreCase(other.getType() + other.getName()); } }