code: protected void writeIndexAndNormalizedKey(BaseRow record, long currOffset) {
  		// add the pointer and the normalized key
  		this.currentSortIndexSegment.putLong(this.currentSortIndexOffset, currOffset);
  
  		if (this.numKeyBytes != 0) {
  			normalizedKeyComputer.putKey(record, this.currentSortIndexSegment, this.currentSortIndexOffset + OFFSET_LEN);
  		}
  
  		this.currentSortIndexOffset += this.indexEntrySize;
  		this.numRecords++;
  	}
docs: Write of index and normalizedKey.