Good grief! First of all, the compass position of the sun rising and setting changes based on where you are in the world and what time of year it is. North and south are predictable from the sun as others have pointed out, but only at one time in the day.