Sort pages in panel with newest first?

Hi everyone,

I’m trying to list my pages (or posts really) in the panel by date with the newest at the top. Currently I can only seem to get them to stack with the oldest at the top.

I’m using this example from the docs:

pages:
num: date
field: added
format: YmdHi

But can’t seem to find a way to flip the order. Weirdly, if I change the format to dmY it also seems to have no effect?

If anyone can help that would be great!

Cheers

There you go: http://getkirby.com/docs/panel/blueprints/page-settings#reverse-sorting-of-subpages

pages:
    sort: flip
2 Likes

If you want to flip it, just flip it :wink:

…
pages:
  sort: flip
…

http://getkirby.com/docs/panel/blueprints/page-settings#reverse-sorting-of-subpages

2 Likes

Sigh…

I feel silly.

Thanks both! Time for a break I think!