diff --git a/modules/model/src/main/java/net/pantasystem/milktea/model/user/User.kt b/modules/model/src/main/java/net/pantasystem/milktea/model/user/User.kt index 1a62fa7350..d9b654d092 100644 --- a/modules/model/src/main/java/net/pantasystem/milktea/model/user/User.kt +++ b/modules/model/src/main/java/net/pantasystem/milktea/model/user/User.kt @@ -90,7 +90,7 @@ sealed interface User : Entity { CustomEmojiParsedResult(displayName, emptyList()) } - override val iconBadgeRoles: List = badgeRoles.filter { it.iconUri != null }.sortedBy { + override val iconBadgeRoles: List = badgeRoles.filter { it.iconUri != null }.sortedByDescending { it.displayOrder } @@ -144,7 +144,7 @@ sealed interface User : Entity { CustomEmojiParsedResult(displayName, emptyList()) } - override val iconBadgeRoles: List = badgeRoles.filter { it.iconUri != null }.sortedBy { + override val iconBadgeRoles: List = badgeRoles.filter { it.iconUri != null }.sortedByDescending { it.displayOrder } }