It’s widely accepted that if you want to get the absolute most out of a solar panel it should be south facing to capture the sun as it travels from east to west.
This blog will look at the impact different orientations have on the output of a solar panel.
Moreover, if you are considering a field-based solar array, orientating the panels east and west will allow you to install more panels per m2 than if they were orientated south. This is because south-facing rows of panels require a gap between each row to prevent inter-row shading; east/west facing panels do not require the same gap.