Bug Report
extract_table re-orders the table rows by the y axis (top to bottom), which works for most cases.
The issue comes if we have a table with a header which is below any of the other elements of the table, when we have a table in a page split by 2 columns for example:

In the above case, even if element_ordering is properly set in load to adjust to the page split, extract_table would return:
[["C", "D"], ["E", "F"],["HEADER 1", "HEADER 2"], ["A", "B"]]
Should we make extract_table obey the ordering on which the document elements are defined? Or should we add some sort of rows_sort and columns_sort options to the function?
Bug Report
extract_tablere-orders the table rows by theyaxis (top to bottom), which works for most cases.The issue comes if we have a table with a header which is below any of the other elements of the table, when we have a table in a page split by 2 columns for example:

In the above case, even if
element_orderingis properly set inloadto adjust to the page split,extract_tablewould return:Should we make
extract_tableobey the ordering on which the document elements are defined? Or should we add some sort ofrows_sortandcolumns_sortoptions to the function?