code: public static void insertSort(int[] arrays) {
          for (int i = 1; i < arrays.length; i++) {
              int currentNumber = arrays[i];
              int j = i - 1;
              while (j >= 0 && arrays[j] > currentNumber) {
                  arrays[j + 1] = arrays[j--];
              }
              arrays[j + 1] = currentNumber;
          }
      }
docs: 插入排序
  
  @param arrays 数组