When using the following code in a page template, the folders corresponding to the children pages get re-ordered/re-numbered each time the page is loaded.
Nevertheless, the pages should not be reordered when calling sortBy(), sounds like a bug to me.
Do you authenticate in the template or calling it as a logged in user?
Could you create an issue please, with exact description when this happens and with your code example? Thank you!
@texnixe I guess I was authenticating by being a logged in user. The code just triggers an error if logged out, so maybe less of an issue than I thought. Iβll still create an issue