private Field[] matchingKeys(DBRecord[] recs, int columnIx, DBRecord matchRec) {
		ArrayList<DBRecord> recList = new ArrayList<>();
		Field f = matchRec.getField(columnIx);
		for (DBRecord rec : recs) {
			if (f.equals(rec.getField(columnIx))) {
				recList.add(rec);
			}
		}
		Field[] keys = new FixedField[recList.size()];
		Iterator<DBRecord> iter = recList.iterator();
		int i = 0;
		while (iter.hasNext()) {
			DBRecord rec = iter.next();
			keys[i++] = rec.getKeyField();
		}
		Arrays.sort(keys);
		return keys;
	}
Insert the specified number of records using random keys.

@param recordCnt number of records to insert.
@param varDataSize size of variable length data fields.
@return Record[] records which were inserted.
Ghidra/Framework/DB/src/test/java/db/DBFixedKeyIndexedTableTest.java