Sort the form fields in row-major order.
void pdfSortFormFields(PDFHandle pdf, int mode)
Sorts the form fields by location, in row-major order, i.e., uppermost row first, from left to right, and then proceeding down the page.

The mode argument is currently unused and should be set to zero.

pdfSortFormFields(pdf, 0);