Dictionary 排序
var collection = charts.OrderByDescending(item => item.Value).Take(10).ToList();
Dictionary<string, int> dictionary = new Dictionary<string, int>();
foreach (var item in collection)
{
dictionary.Add(item.Key, item.Value);
}