I know that one can use longtable for page-breaking vertically long tables. I have also seen Column-wise break of extra wide tables, which shows how to break a wide table horizontally.
How do I combine these two, or otherwise break a table first horizontally, then vertically?
I am fine with entering the table data either column-wise or row-wise.