I have some 2-column tabular data which looks like this:
Foo 12
Bar 34
Baz 56
Quux 78
Quuz 910
Corge 1112
Grault 1314
And I want to lay it out in a 2x2 = 4-column table, i.e. to have each table row contain two records, each of which has a name cell and a number cell. This in itself is not a problem:
\begin{tabular}{llll}
Foo & 12 &
Bar & 34 \\
Baz & 56 &
Quux & 78 \\
Quuz & 910 &
Corge & 1112 \\
Grault & 1314 &
{} & {} \\
\end{tabular}
... and I can do this with a bit of regular-expression work (although you do need support for multiline regex's, which not all editors have).
The problem is, this will result in a "row major" progression i.e.:
1 2
3 4
5 6
7
the first row will have records 1 and 2, the second row will have 3 and 4 etc. What I want is to have a column-major order:
1 5
2 6
3 7
4
when laid out in LaTeX, but I don't want to rearrange the lines in the .tex file and have to interleave the first and second half of the record set.
Can this be done?
Note: I do want this to be in a proper tabular environment, i.e. I'll want different alignments, adding generated content between columns, rules etc. - I just simplified things for this example.

