order phase subdirs by execution order, add subheadings, fix formatting