Builds are run in the order of subproject, main project, but when there are multiple subprojects added, the build order of subprojects is their display order on the project tree.
To change the display order of the subprojects on the project tree, drag the subproject to be moved and drop it on the desired location.