Page - Sort by Date - Help (routes.yaml)

Hello

https://merecivilian.com/micro/

The above page is not sorted by date. I want new posts on top.

My routes.yaml file:

routes:

collections:
  /:
    permalink: /{slug}/
    template: index
    filter: tag:-[mb]
  /micro/:
    permalink: /micro/{slug}/
    template: index
    filter: tag:[mb]

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

I cannot figure out why this page is not sorted by date.

Any help is apprecaited.

Hey @MereCivilian,

Please try adding order property in your custom collection like:

/micro/:
  permalink: /micro/{slug}/
  template: index
  filter: tag:[mb]
  order: published_at desc

Many thanks :slight_smile: