docs: public static char[] addToSortedCharArray(char[] a, char value) {
  		
  		if(a == null || a.length == 0) {
  			return new char[] {value};
  		}
  		
  		int insertionPochar = -java.util.Arrays.binarySearch(a, value) - 1;
  		if(insertionPochar < 0) {
  			throw new IllegalArgumentException(String.format("Element %d already exists in array", value));
  		}
  		
  		char[] array = new char[a.length + 1];
  		if(insertionPochar > 0) {
  			System.arraycopy(a, 0, array, 0, insertionPochar);
  		}
  		array[insertionPochar] = value;
  		if(insertionPochar < a.length) {
  			System.arraycopy(a, insertionPochar, array, insertionPochar + 1, array.length - insertionPochar - 1);
  		}
  		
  		return array;
  	}