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 56d6dfd + de55362 commit 257904fCopy full SHA for 257904f
src/LiveDWAPI.Application/Cs/Queries/GetRealtimeFilteredQuery.cs
@@ -75,7 +75,11 @@ public async Task<Result<List<FactRealtimeIndicator>>> Handle(GetRealtimeFiltere
75
query = query.Take(request.Filter.Limit);
76
77
var indicators = await query.ToListAsync(cancellationToken);
78
- var sorted = indicators.OrderByDescending(x => x.Rate).ToList();
+ var sorted = indicators
79
+ .OrderByDescending(x => x.Rate)
80
+ .ThenByDescending(x=>x.Numerator)
81
+ .ThenBy(x=>x.FacilityName)
82
+ .ToList();
83
return Result.Success(sorted);
84
}
85
catch (Exception e)
0 commit comments