Repro
- Visit http://localhost:8080/w/index.php?title=Special:MobileOptions in mobile view.
- Hard reload several times or add an artificial delay to mobileoptions#initLocalStorageElements() (e.g., a console.log('foo')).
The issue is present on the specialpages branch. I was unable to repro this issue in production.
Expected
Settings order is deterministic.
Actual
Sometimes expand all is on top of the font size changer and other times on the below it:

