worksheet function – How to combine 2 sheets with expanding columns?

I’m trying to combine 2-6 data sets that has been randomized using query so that I can sort them for analysis.

Here is a sample of the data with the desired result

I tried using {A:A;B:B} but it only combines rows.

I having a hard time generating new columns or separating new data that is still coming in.

In the sample data in the link above, user 1,2,3 ends up in the same columns with user 4,5,6 when each user should be their own columns.

The columns for Epic and Story are unique indentifiers for the questions. Epic for a group of questions while Story is an ID for a single question. I was going to use them to group up the questions.