Order: mergePaths will run before collapseGroups

This:

<g>
	<path d="pathdata"/>
	<path d="pathdata-2"/>
</g>

will now be optimized into

<path d="pathdata1+2"/>

rather than

<g><path d="pathdata1+2"/></g>