🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Sort Category Products in Magento 2

By Shivbhadrasinh GohilUpdated on May 22, 2025 3 min read

An E-commerce store is a shopping platform for customers looking out for various products and it is a part of better user experience to offer an online store that is easy to navigate and find the desired products.

Customers may want to sort products based on price and name. Allowing customers to sort category products based on their interests makes it easy for them to shop online.

Moreover, making it easy and quick to find a particular product increases the chance of conversion and reduces the bounce rate. It prevents a potential customer to leave your site frustrated and jump over to your competitor.

Sorting products are useful for E-commerce store having so many products. It allows customers to find their desired products based on product attributes like price or name.

However, the default Magento 2 provides three options for product listing.

  • Product
  • Position
  • Name

This post shows stepwise methods to sort category products in Magento 2.

Method to Sort Category Products in Magento 2:

Login Magento 2 admin panel

  1. Navigate to Catalog > Categories
  2. Select the Store View
  3. Expand Display Setting section
  4. Go to Default Product Listing Sort By and select as per your requirement
  5. Click Save Config
Method 1 - Sort Category Products in Magento 2

The default sorting option is “Position” and you can change the default sorting option.
Make sure that when you choose sorting option, you have to set the position from “Products in Category” tab as shown below:

Method 2 - sort category products in Magento 2

That’s it. You can also configure product listing in Magento 2 from the backend to change how the products are displayed to the customers on the frontend.

You can also refer to the video tutorial to Sort Category Products in Magento 2 from our Magento 2 video tutorial series:

Also, do share the tutorial with the Magento 2 community via social media.

Thank you.

Shivbhadrasinh Gohil Full Image
Article byShivbhadrasinh Gohil

Shivbhadrasinh is the Co-founder & Chief Marketing Officer at Meetanshi. He leads the marketing team and is the person behind the marketing & branding success of the company. Being a seasoned digital marketer, he has been consulting online businesses for growth since 2010 and has helped 100+ clients with digital marketing success. He loves sharing tips and insights about the latest digital marketing trends aimed at helping online business owners.