I want to sort the collection with one of the properties, which is a string, but I don't want to sort in alphabetical order.
Here is my code
IEnumerable<Item> items = Repository.Query<Item>().OrderBy(r=> r.Status)
Status is a string, but I want to sort in a specific order (not in alphabetical order)
how do I insert a custom sorter in the syntax above.
leora source
share