下面是一段比较简单的List打乱排序代码
private List<T> RandomSort<T>(List<T> list) {
var random = new Random();
var newList = new List<T>();
foreach (var item in list) {
newList.Insert(random.Next(newList.Count), item);
}
return newList;
}