code: public AlphabeticIndex<V> addRecord(CharSequence name, V data) {
          // TODO instead of invalidating, just add to unprocessed list.
          buckets = null; // invalidate old bucketlist
          if (inputList == null) {
              inputList = new ArrayList<Record<V>>();
          }
          inputList.add(new Record<V>(name, data));
          return this;
      }
docs: Add a record (name and data) to the index. The name will be used to sort the items into buckets, and to sort
  within the bucket. Two records may have the same name. When they do, the sort order is according to the order added:
  the first added comes first.
  
  @param name
  Name, such as a name
  @param data
  Data, such as an address or link
  @return this, for chaining