diff --git a/libs/dal/src/repositories/notification/notification.repository.ts b/libs/dal/src/repositories/notification/notification.repository.ts index e20610e3135..f0bb504403a 100644 --- a/libs/dal/src/repositories/notification/notification.repository.ts +++ b/libs/dal/src/repositories/notification/notification.repository.ts @@ -103,6 +103,7 @@ export class NotificationRepository extends BaseRepository< .populate({ options: { readPreference: 'secondaryPreferred', + sort: { createdAt: 1 }, }, path: 'jobs', match: {