PHPackages                             viraxpress/product-sorting - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. viraxpress/product-sorting

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

viraxpress/product-sorting
==========================

ViraXpress Product Sorting Extension

1.0.0(2mo ago)00Apache-2.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Apr 11Pushed todayCompare

[ Source](https://github.com/viraxpress/ProductSorting)[ Packagist](https://packagist.org/packages/viraxpress/product-sorting)[ RSS](/packages/viraxpress-product-sorting/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ViraXpress Product Sorting Extension
====================================

[](#viraxpress-product-sorting-extension)

Description
-----------

[](#description)

The ViraXpress Product Sorting Extension is a Magento 2 module that enhances the product listing functionality by providing customizable sorting options. It allows store administrators to configure various sort criteria for product listings on category pages and search results, improving the shopping experience for customers.

Features
--------

[](#features)

- **Flexible Sorting Options**: Configure multiple sort options including:

    - New Arrivals (based on creation date)
    - Best Sellers (based on sales data)
    - Most Viewed (based on product views)
    - Top Rated (based on product ratings)
    - Review Count (based on number of reviews)
    - Product Name (alphabetical)
    - Price (ascending/descending)
    - Position (default Magento position)
- **Display Control**: Choose where each sort option appears:

    - All categories
    - Specific categories
    - Catalog search results
- **Out of Stock Handling**: Option to display out-of-stock products at the end of listings
- **Descending Sort Support**: Configure which sort options have default descending order
- **Category Synchronization**: Automatically sync configured sorting options to category settings
- **Elasticsearch Compatibility**: Optimized for Elasticsearch search engine, including proper handling of date-based sorting
- **Admin Configuration**: Easy-to-use admin panel for configuring all sorting options

Compatibility
-------------

[](#compatibility)

- Magento 2.4.x

Installation
------------

[](#installation)

1. Install the extension via Composer:

    ```
    composer require viraxpress/product-sorting
    ```
2. Run the following commands from your Magento root directory:

    ```
    php bin/magento module:enable ViraXpress_ProductSorting
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
    ```

Configuration
-------------

[](#configuration)

After installation, configure the extension in the Magento Admin Panel:

1. Go to **Stores &gt; Configuration &gt; ViraXpress &gt; Product Sorting**
2. Enable the module
3. Configure general settings:
    - Enable/disable out-of-stock products at end
    - Select enabled sort options
    - Configure descending sort options
4. Customize each sorting option:
    - Set custom labels
    - Choose display locations (all categories, specific categories, search)
    - Select specific categories if needed

Support
-------

[](#support)

For support, please contact ViraXpress at  or refer to the license agreement.

License
-------

[](#license)

This extension is licensed under the ViraXpress license agreement. See  for details.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance95

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfa4cf8adc10a78f5b538cdf399be5d1059c4cfecf5ca5e38e44351bcaf84367?d=identicon)[viraxpress](/maintainers/viraxpress)

---

Top Contributors

[![viraxpress](https://avatars.githubusercontent.com/u/179798477?v=4)](https://github.com/viraxpress "viraxpress (1 commits)")

### Embed Badge

![Health badge](/badges/viraxpress-product-sorting/health.svg)

```
[![Health](https://phpackages.com/badges/viraxpress-product-sorting/health.svg)](https://phpackages.com/packages/viraxpress-product-sorting)
```

###  Alternatives

[mhor/php-mediainfo

PHP wrapper around the mediainfo command

120589.5k7](/packages/mhor-php-mediainfo)[gpolguere/path-to-regexp-php

PHP port of https://github.com/component/path-to-regexp

2211.8k2](/packages/gpolguere-path-to-regexp-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
