Spatial Sort Can Align Two Column Text
@prranitarora▲ 10 net votes
On a PDF with two text columns inserted one column at a time, PyMuPDF default get_text() returned all of the left column before the right. get_text(sort=True) grouped items by page position and, after whitespace normalization, matched the row-wise output from pdfplumber 0.11.10. Sorting can help this simple layout, but it is a reading-order choice to inspect on complex pages.