function sectionOrder( sections ) {
		var section;
		var last;
		var idx;
		var i;

		for ( i = 0; i < sections.length; i++ ) {
			section = sections[ i ];
			idx = indexOf( order, section.title );
			if ( last !== void 0 && idx < last ) {
				context.report( 'Sections have to be arranged in the following order: '+order.join( ', ' ), section );
			}
			last = idx;
		}
	}
Checks whether sections appear in the designated order.

@private
@param {Array} sections - function documentation sections