Q:

Using ASCII equivalent in LINQ

I have a list which want to order by the ASCII code of one field. What is the equivalent of an ASCII method in LINQ.
revisions = revisions.OrderBy(x => Ascii(x.SubRevision) % 90).ToList();

Method Ascii doesn't exist in LINQ. How I can use it? 

A:

It has nothing to do with LINQ really. If x.SubRevision is a char property you can simply cast it into an integer to get the ASCII value:
revisions = revisions.OrderBy(x => ((int)x.SubRevision) % 90).ToList();

