diff --git a/apps/api/src/app/benchmark/benchmark.service.ts b/apps/api/src/app/benchmark/benchmark.service.ts index 7d894428b..a897a6814 100644 --- a/apps/api/src/app/benchmark/benchmark.service.ts +++ b/apps/api/src/app/benchmark/benchmark.service.ts @@ -119,14 +119,16 @@ export class BenchmarkService { const assetProfiles = await this.symbolProfileService.getSymbolProfilesByIds(symbolProfileIds); - return assetProfiles.map(({ dataSource, id, name, symbol }) => { - return { - dataSource, - id, - name, - symbol - }; - }); + return assetProfiles + .map(({ dataSource, id, name, symbol }) => { + return { + dataSource, + id, + name, + symbol + }; + }) + .sort((a, b) => a.name.localeCompare(b.name)); } public async getMarketDataBySymbol({