From f800e461529b0b56d899fe8480e905ecd873c2e5 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 22 Feb 2016 17:28:33 -0800 Subject: Fixes #654: Sort artists same as Web --- app/src/main/java/github/daneren2005/dsub/domain/Artist.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/src/main/java/github/daneren2005/dsub/domain/Artist.java b/app/src/main/java/github/daneren2005/dsub/domain/Artist.java index 9d4cbe29..fddafd65 100644 --- a/app/src/main/java/github/daneren2005/dsub/domain/Artist.java +++ b/app/src/main/java/github/daneren2005/dsub/domain/Artist.java @@ -138,9 +138,9 @@ public class Artist implements Serializable { char rhs1 = rhs.charAt(0); if (Character.isDigit(lhs1) && !Character.isDigit(rhs1)) { - return 1; - } else if (Character.isDigit(rhs1) && !Character.isDigit(lhs1)) { return -1; + } else if (Character.isDigit(rhs1) && !Character.isDigit(lhs1)) { + return 1; } for (String article : ignoredArticles) { -- cgit v1.2.3