private string OrderBonds(string bonds)
{
string[] lists = bonds.Split(‘,‘);
List<string> newList = new List<string>(lists);
newList.Sort();
lists = newList.ToArray();
return string.Join(",", lists);
}
时间: 2024-10-12 05:29:16