I want to sort a collection by one of the properties which is a string, but i dont want to sort alphabetically.
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 particular order (not alphabetically)
how do i inject a custom sorter in the above syntax.