Sorting an IList using LINQ
posted by Bryan on under Data & Databases
We have a custom object called ListOption in our code. It holds category, value and option and fairly represents the basics of a single SelectList item. To hold the ListOption values, the primary developer stored this List as and IList instead of an ArrayList or any other concrete type. OptionList extends IEnumerable
Here is how I sorted the IList.