diff --git a/src/controllers/StrategyController.ts b/src/controllers/StrategyController.ts index 4f1c702..7d24c27 100644 --- a/src/controllers/StrategyController.ts +++ b/src/controllers/StrategyController.ts @@ -56,6 +56,7 @@ export class StrategyController extends Controller { public async listStrategyChild1() { const listStrategyChild1 = await this.strategy1Repo.find({ relations: ["strategyChild2s", "strategyChild2s.strategyChild3s", "strategyChild2s.strategyChild3s.strategyChild4s", "strategyChild2s.strategyChild3s.strategyChild4s.strategyChild5s"], + order: { createdAt: "ASC" }, }); if (!listStrategyChild1 || listStrategyChild1.length === 0) {