diff --git a/src/BUTR.CrashReport.Server/Controllers/ReportController.cs b/src/BUTR.CrashReport.Server/Controllers/ReportController.cs index 74c2acb..9ea7827 100644 --- a/src/BUTR.CrashReport.Server/Controllers/ReportController.cs +++ b/src/BUTR.CrashReport.Server/Controllers/ReportController.cs @@ -220,7 +220,7 @@ public IActionResult Sitemap(int idx) { var sitemap = new Urlset { - Url = _dbContext.IdEntities.Skip(idx * 50000).Take(50000).Select(x => new { x.FileId, x.Created }).Select(x => new Url + Url = _dbContext.IdEntities.OrderBy(x => x.Created).Skip(idx * 50000).Take(50000).Select(x => new { x.FileId, x.Created }).Select(x => new Url { Location = $"{_options.BaseUri}/{x.FileId}", TimeStamp = x.Created,