diff --git a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts index 143a20401..a03ae6568 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts @@ -365,6 +365,7 @@ export class FileWorkloadComponent { } else { this.displayedPages = this.#allPages; } + this.displayedPages = this.displayedPages.sort((a, b) => a - b); return this.displayedAnnotations; }