docs: public static void writeConfigFile(OutputStream outputStream, Class<?>[] classes, boolean sortClasses)
  			throws SQLException, IOException {
  		if (sortClasses) {
  			// sort our class list to make the output more deterministic
  			Class<?>[] sortedClasses = new Class<?>[classes.length];
  			System.arraycopy(classes, 0, sortedClasses, 0, classes.length);
  			Arrays.sort(sortedClasses, classComparator);
  			classes = sortedClasses;
  		}
  		BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(outputStream), 4096);
  		try {
  			writeHeader(writer);
  			for (Class<?> clazz : classes) {
  				writeConfigForTable(writer, clazz, sortClasses);
  			}
  			// NOTE: done is here because this is public
  			System.out.println("Done.");
  		} finally {
  			writer.close();
  		}
  	}