Even though sun patches up Donphan's water weakness, he just gains another weakness to fire anyway.
Also, why don't you give Porygon2 Toxic instead of Thunder Wave?
2/6 pokemon on your team already have Toxic (or Toxic Spikes), so having Thunder Wave on Porygon2 AND sleep powder on Tangrowth...