11,567 questions
If it is not possible to change the field to numeric type permanently, and all the strings represent numbers, then it is possible to change the type temporarily, like in this example:
var results = persons.GroupBy( p => p.ID ).OrderBy( g => int.Parse( g.Key ) );