The items are listed in an order that I don’t understand, but it’s certainly not date order. Nor is it random, because if I change asc to desc I get the same order reversed.
Ah. I didn’t realise that. Suppose I should have guessed. But … I changed date to pub_datethroughout, and I’m still not getting the expected ordering. Nor when I try to order by author. In fact, I now see they’re being listed in order of title, whether I ask for ordering by date or by author.
Just to confirm, this is the header code:
title: 'By author'
content:
items: '@self.children'
order:
by: author
dir: asc
```.
Looking back at the docs on collection pages, i wonder whether ordering only applies to component pages of a modular page, rather than to ordinary children of an ordinary non-modular collection? That would be a nuisance.