Respect the order for merged and non-merged files
Ticket on Forge: https://forge.typo3.org/issues/29672
Author: Stefan Galinski
Description:
Currently there are lot's of problems if script files are excluded, because a working result often depends on the order. To reach this goal each script must be either merged into files before or after the excluded file. This improves the final stability, but also reduces the performance.
Example:
MERGED EXCLUDED MERGED EXCLUDED MERGED