Add `beforeLoad()` to `listDir()` in `main.js`
Force ordering in `mod.save()`.