Therefore, God in beginning to accomplish His works made light first, that afterwards he might make all things in light. For He signified to us that He does not like works which are done in darkness, because they are evil: “For every one that doth evil hateth the light, and cometh not to the light, that his works may not be reproved, for they are evil.” (John III, 20 the last phrase is apparently from end of John III, 19). “But he that doth truth, cometh to the light, that his works may be made manifest, because they are done in God.” (John III, 21) Therefore, He himself who was to do truth, did not wish to work in darkness; but He came to light and made light, that He might make Himself manifest through light. For He did not make light that He himself might be seen by light, but that He might make His works manifest by light, because they were done in God. “And” so “God saw all the things that he had made, and they were very good.” (Gen I, 31) It was necessary for me to state this by way of introduction to give the reason why God made light first.
¬ Hugh of Sr. Victor, De Sacramentis, Bk. I, Part One, par. VIII.