Historically several conventions were used to set directions on maps. Different conventions pointed to different directions. This is an old compass and an old map:
However all the ancient conventions faded except one. Today all maps use the same standard: Up is North, right is East, left is West and down is South. This means if you are standing then the sun rises to your right and the sun sets to your left, you are facing North and behind you is South. However 1400 years ago this was portrayed in the Quran:
١٧ وَتَرَى الشَّمْسَ إِذَا طَلَعَتْ تَزَاوَرُ عَنْ كَهْفِهِمْ ذَاتَ الْيَمِينِ وَإِذَا غَرَبَتْ تَقْرِضُهُمْ ذَاتَ الشِّمَالِ وَهُمْ فِي فَجْوَةٍ مِنْهُ ۚ ذَٰلِكَ مِنْ آيَاتِ اللَّهِ ۗ مَنْ يَهْدِ اللَّهُ فَهُوَ الْمُهْتَدِ ۖ وَمَنْ يُضْلِلْ فَلَنْ تَجِدَ لَهُ وَلِيًّا مُرْشِدًا
If the sun rises to your right and the sun sets to your left then definitely you are facing North, and behind you is South. This is the same convention used today in all maps.
How could an illiterate man who lived 1400 years ago have known which standard will prevail?
The Quran (Koran, the book of Islam) contains scientific knowledge that could not have been known 1400 years ago. It ranges from basic arithmetics to the most advanced topics in astrophysics. You are invited to go through those miracles and judge for yourself.