modified sections template to respect ordering, as required by configObj used by diamond
otherwise subsections could appear ahead of sections

requires the use of list within the class param