How to change order of custom module theme output?
If you add the #weight property to the arrays in $build() then that will allow you to order them e.g.: 

$build['acts_table_rows'] = array(
        '#theme' =&gt; 'table',
        '#rows' =&gt; $rows,
        '#empty' =&gt; t('Currently there are no active content'),
        '#weight' =&gt; 99,
);