diff --git a/src/portalbackend/PortalBackend.DBAccess/Repositories/OfferRepository.cs b/src/portalbackend/PortalBackend.DBAccess/Repositories/OfferRepository.cs index c64f838efb..4e1e84ed5d 100644 --- a/src/portalbackend/PortalBackend.DBAccess/Repositories/OfferRepository.cs +++ b/src/portalbackend/PortalBackend.DBAccess/Repositories/OfferRepository.cs @@ -68,6 +68,7 @@ public IAsyncEnumerable GetAllActiveAppsAsync(string? languageSho dbContext.Offers.AsNoTracking() .AsSplitQuery() .Where(offer => offer.DateReleased.HasValue && offer.DateReleased <= DateTime.UtcNow && offer.OfferTypeId == OfferTypeId.APP && offer.OfferStatusId == OfferStatusId.ACTIVE) + .OrderByDescending(x => x.DateReleased) .Select(a => new ActiveAppData( a.Id, a.Name,