It is better to keep your sourdough starter out of direct sunlight. While the warmth of a sunny window sill will certainly enhance the growth of the wild yeast and bacteria, the direct sunlight can do more harm than good.