Will my mighty white rocket yellow in direct sunlight?
Absolutely it will. The yellowing is caused by exposure to UV light, which it will get more of with direct sunlight shining on it. If it has to be in the window you could look at some glass coverings that block some of the UV, or find a home for it else where under electric light.