order phase subdirs by execution order, add subheadings