If that happened Dowding, I'll bet that it would be the LAST time it ever happened.
I'm told the "Electoral College" originated long ago, before we had effecient communication. Every voter could not travel to Washington on horseback or canoe to caste his vote, so all the individual votes went to the "Electoral College" for the state, telling them how to vote.
The number of Electoral College votes for each state were apportioned according to population, which could allow the wierd results that you describe. That is my understanding, anyway.
I believe there would be a lot of sentiment for a Constitional amendment if that were to happen.