I have the fallowing code:
var groups =
from w in wordsAndFec
group w by w.Value;
foreach (var group in groups).....
In the code above w.Value is an int and the code will later add the groups to a string. However i need to also reverse the order so that the code groups by highest to lowest value instead of lowest to highest.
Non working example of what needs to be done:
from w in wordsAndFec
group w by w.value orderby reverse;
orderbytakes a value to sort on: