docs: private int compare(int i) {
  
          if (sortOnValues) {
              if (targetSearchValue > values[i]) {
                  return 1;
              } else if (targetSearchValue < values[i]) {
                  return -1;
              }
          } else {
              if (targetSearchValue > keys[i]) {
                  return 1;
              } else if (targetSearchValue < keys[i]) {
                  return -1;
              }
          }
  
          return 0;
      }