aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java b/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java
index 575d99f8..3c022cea 100644
--- a/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java
+++ b/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java
@@ -609,7 +609,7 @@ public class MusicDirectory implements Serializable {
}
}
- return lhs.getTitle().compareToIgnoreCase(rhs.getTitle());
+ return lhs.getAlbumDisplay().compareToIgnoreCase(rhs.getAlbumDisplay());
}
Integer lhsDisc = lhs.getDiscNumber();
@@ -632,7 +632,7 @@ public class MusicDirectory implements Serializable {
} else if(rhsTrack != null) {
return 1;
}
-
+
return lhs.getTitle().compareToIgnoreCase(rhs.getTitle());
}