Channel post order

I am trying to get a channel to sort in ascending order. Here is what I have in the routes.yaml file.

/fairytalemixtape/:
controller: channel
filter: tag:fairytale-mixtape
template: fairytalemixtape
order: asc

Everything is working except for the sort order. It was working and now for some reason it’s not.

Any thoughts?

Thanks

Hey @Andre_Guess

Can you try adding the field to sort - e.g. published_at asc :thinking:

I tried that and it didn’t work. It was working at some point, but is not any more.

I figured it out. I think there was something weird going on with the dates on the posts, so I deleted the posts and re-did them and it worked