Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
I do not have a repository - it is create new site, get a theme, adjust archetype\default.md so draft: false, set theme line in config.toml and create two pages as explained on the Quick Start page.
Everything is basically created by Hugo but the dates seem fine to me test1 is fine, test2 created a few seconds later doesn’t appear.
Very strange there must be something I fundamentally do not understand or I can’t read which could be correct as I have tried everything over the past couple of days and I have got the problem simplified to this.
The alphabetical check also explains why during testing it seemed to change around but it was always just one directory that appeared the others were not processed - I just tried to simplify the problem and find a way to reproduce and explain it. The solution is as marked I needed to include mainSections in the config.toml. Much appreciated.