The Torah is not a history book, but one can learn from everything in it, even its order.
The commentators try to explain the experience of Sinai.