Dim classCodeDetails As List(Of ClassCodeDetail) =
db.ClassCodeHeaders.Single(Function(cch)
cch.CLCH_ID = classCodeHeaderId
).ClassCodeDetails.ToList()
classCodeDetails.Sort(Function(c1, c2)
c1.Make.MAKE_English.CompareTo(c2.Make.MAKE_English)
)
My question is how can I sort on multiple attributes? I want to sort first by Make.MAKE_English
, then By Model.MODL_English
.
How do I implement that?
Thanks,
~ck