I have now 2 lists:
list names; list numbers;
and I need to sort my names based on the values in numbers. I\'ve be
I fixed it by doing it with an dictionary, this was the result:
dictionary.OrderBy(kv => kv.Value).Reverse().Select(kv => kv.Key).ToList();