In the Settings window, under 'Image' there is a dropdown for 'Image loading order'. The default is normally Name,
but you could select Length, Date, or another option. It sounds like it might be set to Random somehow?
We haven't yet reverse-engineered how Microsoft does the file order for Windows Photos. I suspect magic.
Kevin