I don't think Sofia was ever intended to be gay, I think it's just that along with the American accent, I think this is Louise's interpretation of a female cop in the US - gritty, tough, swagger-y, etc. and it comes off as what we consider to be "butch" or masculine.
The Grissom thing, I think...