Sonoko is pretty much: "WOW I SOLVED A CASE IN MY SLEEP! I MUST BE A FREAKING GENIUS!"
Partly because Gin's so bad-ass, and partly because of his wits and possible BO training. I don't think that's good ground for Agasa = BO.
I think he starts getting tired first, BTW.