BOM grouped by reference

Ah yes, I forgot about the build on Windows.

To be honest, I found this change to be a bit annoying. I get that some people want control over their BOM output, but why not have some sensible defaults, you know?