无聊在写一个插入排序
public static int[] crSort(int[] arrayInt) { if (arrayInt.Length < 2) { return arrayInt; } for (int i = 0; i < arrayInt.Length - 1; i++) { var value = arrayInt[i]; for (var j = i + 1; j < arrayInt.Length; j++) { if (value > arrayInt[j]) { var tempValue = arrayInt[j]; arrayInt[j] = value; value = tempValue; } } } return arrayInt; }