How To Set Up Product Sorting In Magento 2

A Miniature Shopping Cart on MacBook Laptop

One of the most important aspects of running an online store is providing your customers with an easy and intuitive shopping experience. Sorting your products is a simple yet effective way to help shoppers find the products they want quickly and easily. Fortunately, Magento 2 makes it easy to set up product sorting. In this article, we’ll go over the steps you need to take to get your products sorted in Magento 2.

Speed Up Your Magento Store by 300%

Step 1: Log in to your Magento 2 Admin Panel

The first step in setting up product sorting in Magento 2 is to log in to your Magento 2 Admin Panel. Once you are logged in, you will be taken to the Dashboard.

Step 2: Navigate to the Product Category Page

The next step is to navigate to the Product Category page. To do this, you will need to go to the Products tab in the main navigation menu and then select Categories.

Step 3: Select a Category to Sort

Once you are on the Product Category page, you will need to choose a category to sort. Select the category that you want to sort from the list of categories.

Step 4: Select the Product Sort Order

On the category page, you will see an option for Sort By. Click on this option to reveal a drop-down list of available sort orders.

Step 5: Choose the Sorting Option

On the drop-down list, you will see several sorting options to choose from, including:

  • Position: This is the default sorting option in Magento 2. Products will be sorted according to their position in the category.
  • Product Name: Products will be sorted alphabetically based on their name.
  • Price: Products will be sorted by price, from lowest to highest or from highest to lowest.
  • Created At: Products will be sorted by the date they were created.

Select the sorting option you prefer.

Step 6: Save Your Changes

Finally, click the Save Category button to save your changes.

Tip: Applying the Same Sort Order to Multiple Categories

If you want to apply the same sort order to multiple categories, you can do so easily in Magento 2. Simply navigate to the Categories page, select the categories you want to sort, and then follow Steps 4 to 6 above.


Setting up product sorting in Magento 2 is a simple yet effective way to help your customers find the products they are looking for quickly and easily. By following the steps outlined above, you can easily sort your products by name, price, or creation date. With this feature in place, you can provide a better shopping experience for your customers and increase sales on your online store.

Scroll to Top