In Chapter 7, the Rambam rearranges the order of the narrative, for philosophical/theological reasons