Magento 2.4.9 is available! Upgrade now & get 15% OFF for a limited time. Use code: UPGRADE249

Magento 2 Improved Sorting

(2Reviews)

Meetanshi's Magento 2 Improved Sorting extension replaces Magento's limited sort dropdown with 19 sorting strategies, product pinning, and pre-built indexes for fast results at scale. Sort category and search pages by what actually drives sales, from bestsellers and ratings to profit margin and conversion efficiency, and pin the products you want seen first.

Key Features:

  • 19 sorting strategies for category and search pages
  • Pin chosen products to the top of any category or search result
  • Pre-built indexes and OpenSearch support for fast sorting at scale
Compatible with: Magento CE, EE 2.3.x, 2.4.x

Description

Improved Sorting

Out of the box, Magento gives shoppers a handful of sort options: position, price, and product name. That is fine for a small catalog, but it does nothing to push your best products forward. You cannot sort by what sells, what converts, what is in stock, or what earns the most margin, and you cannot force key products to the top of a category. Shoppers scroll past the items you most want them to see.

Meetanshi's Magento 2 Improved Sorting extension fixes that. It adds 19 sorting strategies covering demand, quality, stock, and margin, lets you set the default sort per page type, and lets you pin specific products to the top regardless of the active sort. Behind the scenes it pre-computes sort scores into index tables and pushes them into OpenSearch, so even large catalogs sort quickly. It also keeps sorted URLs SEO-safe and supports headless storefronts through GraphQL.

Magento Category Page with Improved Sorting Dropdown Options

Sort by What Drives Sales & Customize Page Defaults

Each sorting strategy ranks products by a metric that matters to your merchandising operations. Promote proven sellers with Bestsellers and Recent Ordered, surface social proof with Top Rated and Reviews Count, clear stock with Stock Quantity, and lead with margin using Profit. Every option can be turned on or off, renamed, reordered in the dropdown, and given a default direction.

Control the Default Experience Per Page

Set a different default sort for category pages and search results, so customers see the most useful order before they touch the dropdown. You can hide Magento's native Position option, push out-of-stock products to the end, and send products without images to the bottom, all without changing the customer's chosen sort.

Improved Sorting Admin Configuration Dashboard

Fine-Tune with Per-Strategy Settings

Manage performance lookback windows and direction variables for every strategy individually. Set lookback limits (e.g., compile Bestsellers data over the last 30, 90, or 365 days) and customize dropdown sort directions cleanly.

This ensures that seasonal shifts and short-term trends are captured dynamically without processing unnecessary historical tables during runtime.

Per-Strategy Configuration Admin View

Push Out-of-Stock and No-Image Items Last

Keep your catalog looking clean and complete by sending unavailable items straight to the bottom of sorting results. Whether sorted by Bestsellers, Price, or Ratings, customers won't have to wade through out-of-stock items or missing product thumbnails.

This dramatically boosts average order values and ensures customers are served immediate, purchasable selections first.

Frontend Product Grid Sorted with Out of Stock Items Last

Pin the Products You Want Seen First

Pinning forces specific products to the top of a category or search result no matter which sort is active. Set the pinned products and their order from the category page, and they stay first while everything below sorts normally.

On search pages, an OpenSearch boost keeps pinned products prominently positioned on page one. Pins are scoped per store, so different store views can feature different promotional items.

Category Page Product Pinning Interface

How It Works

Setup is done in the Magento admin, and the first index build runs automatically on install.

  1. 1
    Enable the module under Stores > Configuration > Meetanshi > Improved Sorting.
  2. 2
    Configure each strategy you want to offer: turn it on, set a custom label, default direction, dropdown position, and a lookback period where it applies.
  3. 3
    Set the default sort for category pages and for search pages.
  4. 4
    Tidy the results by optionally hiding the Position option, pushing out-of-stock products last, and sending no-image products to the bottom.
  5. 5
    Turn on index-based sorting (Use Index = Yes) so behavioral sorts read from the pre-built tables. Recommended for large catalogs.
  6. 6
    Pin products to the top of any category from the category page, in the order you want.
  7. 7
    Save. The extension back-fills its indexes on install, then a daily cron keeps scores fresh. Run a reindex manually any time from the CLI or REST API.

Features of Meetanshi's Magento 2 Improved Sorting

Engineered for high performance, indexing efficiency, and seamless headless compatibility.

  • 19 Sorting Strategies: Highly flexible options extending far beyond Magento's defaults.
  • Behavioral Sorts: Ranks by Bestsellers, Most Viewed, Recent Ordered, Wishlists, and View-per-Sale.
  • Quality Sorts: Order by Top Rated averages or approved Reviews Count thresholds.
  • Stock Sorts: Order dynamically by Stock Quantity, Backorder Availability, and Children In Stock variants.
  • Merchandising Sorts: Promote by Biggest Saving discount percentages or real unit Profit margins.
  • Page-Level Defaults: Configure separate default criteria for category grids and search results.
  • Push Out-of-Stock Last: Move unpurchasable items instantly to the very end of active grids.
  • No-Image Last: Keeps pages clean by sending text-only products to the absolute bottom.
  • Product Pinning: Pin specific promotional items to category tops on a per-store basis.
  • Pre-built Indexes: Pre-aggregates sort scores to prevent heavy, slow database joins on frontend page loads.
  • Elastic/OpenSearch Ready: Scores inject into search indices, and pinned items get boosted to page one.
  • GraphQL, REST, & CLI: Fully supports headless PWAs, API-driven adjustments, and automation scripts.
  • SEO-Friendly URL Schema: Configurable canonical redirects and robots tags for sorted pages.
  • Daily Auto-Refresh: Built-in cron task updates score matrices and indices automatically.

The 19 Sorting Strategies

Our sorting options are grouped into four specialized merchandising categories to match consumer search behavior:

Demand & Behavior
Bestsellers, Most Viewed, Recent Ordered, Now in Wishlists, and Average View per Sale.
Quality & Proof
Top Rated by average rating and Reviews Count by approved reviews threshold.
Stock & Availability
Stock Quantity, Backorders Availability, and Children In Stock configured parameters.
Margin & Promo
Biggest Saving percentage or flat amounts, and unit Profit margin metrics.
Catalog Basics
Newest creation details, alphabetical Names, Price High/Low, Position indicators, and Random grids.

Who Needs Improved Sorting?

Tailored specifically for modern e-commerce merchandising teams, catalogs of any size, and storefront managers seeking to automate conversions.

Large Catalogs with Hidden Best-Sellers
Merchandisers Leading with Profit Margins
Stores Requiring Specific Category Defaults
Campaign Teams Pinning Special Promotions
High-Traffic Stores Needing Fast Page Loads
Headless & PWA Frontends using GraphQL

Customer Reviews

Efficient Sorting, Great Integration
Extension Ratings
Verified Buyer
Review by
Magento 2 Improved Sorting is efficient. Works well with OpenSearch and CLI commands are very useful. Easy to integrate with headless setup.
Boosted Our Sales & User Experience!
Extension Ratings
Verified Buyer
Review by
Wow! This extension is a game-changer for our Magento 2 store! The 20+ advanced sorting options like 'bestsellers' and 'biggest saving' have truly transformed how customers discover products. It's incredibly fast, and we've seen a noticeable improvement in user experience and, most importantly, our sales figures. A must-have for any serious Magento store owner!
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

FAQs

 
  • Lifetime license to source code
  • 30 Days money back Guaranteed
  • Free support and updates for 1 year