The content are shown on the displays in the order visible in the Content view row by row from left to right and from the top to the bottom.
You can change the display order by dragging and dropping content to where you want it displayed. The content on grey is not scheduled to be displayed yet.
You can reorder stacked content in a similar way. First select a stack, then click Open stack and drag the content in the order you want it displayed.