This seems to be strange requirement. Anyway, you are worrying more about the sequence of Queries in WAD. Suppose if Q2(DP2) is executing first, then put Q1 in DP2 and put Q2 in DP1. This is a smart thing to get the job work as per your expectation.
Once if you save your web template, it will never change the sequence dynamically. It will be frozen..So don't worry about sequence.
Make sure all your logic development to write into table and again to read by Q2, is done well.