diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts index 5e91f8c52..408bf3358 100644 --- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts +++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts @@ -161,7 +161,7 @@ export class ProjectListingScreenComponent implements OnInit, OnDestroy { }, {}); return Object.keys(obj) - .sort() + .sort((a, b) => StatusSorter[a] - StatusSorter[b]) .map((status) => ({ length: obj[status], color: status })); }