I\'d like to sort a List on element counts of IGroupings.
List
IGrouping
And that\'s it, the list should ideally be the same. I would compromise
var mySortedList = myList.GroupBy(x => x.Name).OrderByDescending(g => g.Count()) .SelectMany(x => x).ToList();