How necessary is sun to dry firewood??
It ain't necessary, but it will dry a lot slower without it... and it will rot a lot sooner.
Single row stacks in a shady but open area, with a generous air space on both sides, off the ground or on a moisture barrier, your firewood will dry as long as there is some air movement. But if the stack is sheltered from the prevailing wind... well... good luck
People confuse firewood seasoning with firewood storage... and most hardwood firewood does not store well in heavy shade. Even with good air movement, and depending on when it was stacked, 18 to 24 months is as long as I would want it sitting in heavy shade... any sign of moss, mushrooms, mildew and whatnot is a sure sign it's been sitting there way too long already. Firewood stores best in an open, breezy area, with lots and lots of sun... and, contrary to belief, it stores best without any sort of cover.
Storing firewood in an open area where sun exposure can be maximized, without any sort of cover, will minimize all the things that accelerate the rotting process... insects, molds and mildews, rodents, mushrooms and whatnot. If such an area ain't available, the second best choice for "storage" (not "seasoning") is a woodshed... after a few months of "seasoning" you move the firewood to the woodshed for "storage". Honestly, until I joined this board, I'd never heard of anyone putting unseasoned firewood under any sort of cover or roof... 'round here woodsheds are for "storage", not "seasoning". Heck, if someone saw me putting a cover or roof over green firewood they'd likely call the loony bin.