I have two tables that have the same structure, I need a query to order by from both tables at the same time so that the array fetched with php grabs the order correctly out of the two tables selected with a single query at the same time.
avoiding selection of each table separately, storing on php arrays and then sorting.
According to the documentation, it should be just like you would think. Here is an example from the documentation: