I think the slope may be more important than the orientation. Running the bed across a slope may keep your
water closer to where you intend it within the bed.
If you ignore the orientation of the bed and look a particular plant, does it know which way the bed is oriented? Likely not and it'll follow the sun however it needs.
If you want to plant half the bed with something tall though, I'd orient it E/W so that the tall stuff can be on the N side. If you only want to plant a little tall stuff then either orientation is fine.