How to order post?

How to achieve like the screenshot:

https://www.awesomescreenshot.com/image/7384897?key=26698b5db6a1ca3896880d0507f22c43

I want to display posts according to newest to oldest / oldest to newest

Site url: https://prairie-health-blog.vercel.app/
REST API: https://www.prairiehealth.co/blog/wp-json/wp/v2/posts