code: public static void sort(int[] intArray) {
          int index = 0;
          int value = 0;
          
          for(int i = 1; i < intArray.length; i++) {
              index = i;
              value = intArray[index];
              
  
              while(index > 0 && value < intArray[index - 1]) {
                  intArray[index] = intArray[index - 1];
                  
                  index--;
              }
              
              intArray[index] = value;
          }
      }
docs: Sort the int array in ascending order using this algorithm.
  
  @param intArray the array of ints that we want to sort