Many parts of the Torah skip ahead or revert back several chapters or verses thereby rendering it NOT written in chronological order. What is the reason for this?
R. Elazar taught “ The parshiyos of the Torah were not arranged in the originally planned sequence, lest a keen student discover the way to revive the dead and perform miracles. The almighty therefore concealed their correct order. Now that they are arranged in a different pattern, it is easier to study the Torah with pure motives (and not in order to perform miracles), and thereby gain Olam Haba. See שוח״ט