diff --git a/DB/Sources/DB/Content/AccountRecord.swift b/DB/Sources/DB/Content/AccountRecord.swift index 6d47dd2..0693838 100644 --- a/DB/Sources/DB/Content/AccountRecord.swift +++ b/DB/Sources/DB/Content/AccountRecord.swift @@ -81,7 +81,8 @@ extension AccountRecord { request(for: Self.hasMany( StatusRecord.self, through: Self.statusJoins.filter(AccountStatusJoin.Columns.collection == collection.rawValue), - using: AccountStatusJoin.status))) + using: AccountStatusJoin.status) + .order(StatusRecord.Columns.createdAt.desc))) } init(account: Account) {