Quoted By:
I always assumed it had to do with "visibly noticable type" and "secondary". There are a few exceptions but in that case I see it as "strongest" type first. I'm sure Hydrigon is better at using dark moves than dragon moves.
For example with this pic, Mermaid A would be Normal/Water, while Mermaid B would be Water/Normal