We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76660db + dc7a0be commit 56d6dfdCopy full SHA for 56d6dfd
src/LiveDWAPI.Application/Cs/Queries/GetRealtimeFilteredQuery.cs
@@ -75,8 +75,8 @@ public async Task<Result<List<FactRealtimeIndicator>>> Handle(GetRealtimeFiltere
75
query = query.Take(request.Filter.Limit);
76
77
var indicators = await query.ToListAsync(cancellationToken);
78
-
79
- return Result.Success(indicators);
+ var sorted = indicators.OrderByDescending(x => x.Rate).ToList();
+ return Result.Success(sorted);
80
}
81
catch (Exception e)
82
{
0 commit comments