Hello, I would like sort the articles from the most recent to the oldest on my blog inside my shop

To do this I made these steps:
"Here are the steps you can take to adjust the blog posts order in your theme’s code:

In the Shopify Admin area, go to Online Store > Themes.

Find the theme you want to edit and then click Actions > Edit Code.

In the Templates directory, locate and click on your blog.liquid file to open it in the online code editor.

Find the line of code that looks something like this: {% for article in blog.articles %}.

Just above this line, add the following snippet {% assign articles = blog.articles | sort: ‘created_at’ | reverse %}."

------till here is clear for me, I do not understand this part:

Replace blog.articles in the for loop with articles. - where exaclty?

The modified code should look something like this:


somebody can help me, please?

thank you in advance, best regards, Kinga