How can I order pages by weight in the ascending order?

I am currently setting the weight on top of the pages by setting the values to -1, -2, -3 etc to sort them in the descending order. Is there a better way to do this?

Yes, there is a better way:

{{ range site.RegularPages.ByWeight.Reverse }}
1 Like