You can select that template in the general settings , see edit->settings->detection->layout Then use the browse folder function to select the main folder. Tell the dialog to recurse in subfolders and set average numbers of photos to 4.
this should load everything into groups of for according to your template.
I assume the photos are having a date/time stamp which putting these photos in the same order as you displayed them.
Depending on how many photos there are, you can dropbox them to me so I can make you these groups. Also send template