feat(html): Added proper sorting of scripts and styles

This ensures that files tagged `vendor` are included in the order specified in `globs.vendor` and
that they are included *prior* to any app files.