diff --git a/apps/web-api/src/focus-areas/focus-areas.service.ts b/apps/web-api/src/focus-areas/focus-areas.service.ts index ae3feb432..e0c2ab45e 100644 --- a/apps/web-api/src/focus-areas/focus-areas.service.ts +++ b/apps/web-api/src/focus-areas/focus-areas.service.ts @@ -13,6 +13,9 @@ export class FocusAreasService { include: { children: this.buildQueryByLevel(4, type, query), // level denotes depth of children. ...this.buildAncestorFocusAreasFilterByType(type, query) + }, + orderBy: { + createdAt: "desc" } }); return result;