How do I get this to work properly? I want order by duedate desc, type
I currently have:
billSummaryRepository.GetBillSummaries(logIn.CustomerNumber)
.OrderByDescending(o => o.DueDate)
.OrderBy(o => o.Type)
This works:
BillSummaries = billSummaryRepository.GetBillSummaries(logIn.CustomerNumber)
.OrderBy(o => o.Type)
.OrderByDescending(o => o.DueDate)
but how dangerous is that? Will it work?
1 Answer