By your own version, light was created right after the heaven and earth and before the plants, so there’s no issue with the plants not having the sun.
It's not enough that "light" exists in general, somewhere else, and we have no Sun! Plants can't live with that.
I am surprised you guys want to deviate from the science of Genesis where the writer made sure he took down notes while God spoke and it was like he heard that the water was divided by the sky, and then gathered into one place and that allowed the land to emerge, and then the plants were created and brought in from somewhere else (reflecting on the second creation story in Genesis).
Sticking with Genesis, the plants are here BEFORE the Sun.