I have 20 entries
I want to order entries in terms of a field Priority.
FieldPriorityhas 3 values ( High, Medium, Low)
I want to display records in High, Medium, Lowrecords in sequence accordingly.
var groupedRecords = records.GroupBy(x => x.Priority == "High")
Note. I want to get first all the high recording, and the average recording and atlast low record.
source
share