Subpages change to hidden when sorting by "sort" field

Actually no. I found a fix, but that would break another Kirby feature: models. If I use the content() method to sort, the model is completely ignored, which will be another bug.

So @john: Sorting by the sort field just won’t work unfortunately. Please use another field name that is not reserved by Kirby.

If you really need to do this and don’t use models: I posted a solution at the GitHub issue.