Both are good, but i recomend the first one because it has more crit damage BUT if you dont have enough crit rate from the first one then use the second one
Urm i would say the second one is slightly better, assuming you run a melt ganyu team, you might need some EM for the reaction, energy recharge is meh on melt ganyu because you don't cast ult with melt build.