diff --git a/src/orientation/orientation.service.ts b/src/orientation/orientation.service.ts index c7957f40b9e1381ccfaca557cce624fc66f11684..f1c3b89f198a9b3d3ddc12aacd8b7d7228fc4958 100644 --- a/src/orientation/orientation.service.ts +++ b/src/orientation/orientation.service.ts @@ -92,6 +92,7 @@ export class OrientationService { .populate('structureChoice', 'structureName') .populate('socialWorker', 'name surname') .populate('orientator', 'name surname') + .sort({ createdAt: 1 }) .exec(); const updatedOrientations = await Promise.all(