public boolean isCatchIntermediateExceptions() {
        return defaultConfig.isCatchIntermediateIOExceptions();
    }
If true, sort text tokens by their x/y position
before extracting text.  This may be necessary for
some PDFs (if the text tokens are not rendered "in
order"), while for other PDFs it can produce the
wrong result (for example if there are 2 columns,
the text will be interleaved).  Default is false.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/main/java/org/apache/tika/parser/pdf/PDFParser.java