@Override
		public int compare(DBRecord rec1, DBRecord rec2) {
			int r = rec1.getField(columnIx).compareTo(rec2.getField(columnIx));
			if (r == 0) {
				return rec1.getKeyField().compareTo(rec2.getKeyField());
			}
			return r;
		}
Test record iterator.

@param testStoredDB test against a stored database if true, else test against cached database
           only.
@param recordCnt number of records to test
@param keyIncrement key increment, 0 = random
@param varDataSize size of variable length data fields.
@throws IOException
Ghidra/Framework/DB/src/test/java/db/DBFixedKeyIndexedTableTest.java