可以通过另一个列表对内存列表进行排序(第二个列表将是参考数据源或类似的东西)?public class DataItem {public string Name { get; set; }public string Path { get; set; } }// a list of Data Items, randomly sorted List<DataItem> dataItems = GetDataItems();// the sort order data source with the paths in the correct order IEnumerable<string> sortOrder = new List<string> {"A","A.A1","A.A2","A.B1" };// is the...