PHPackages                             haoyuqi/sort-function - 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. haoyuqi/sort-function

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

haoyuqi/sort-function
=====================

PHP sort functions

1.4.0(6y ago)02.4k1MITPHPCI failing

Since Feb 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/haoyuqi/sort-function)[ Packagist](https://packagist.org/packages/haoyuqi/sort-function)[ RSS](/packages/haoyuqi-sort-function/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Sort function
=============

[](#sort-function)

PHP sort functions.

Install
-------

[](#install)

`composer require haoyuqi/sort-function`

Functions
---------

[](#functions)

1. [Bubble Sort](https://baike.baidu.com/item/%E5%86%92%E6%B3%A1%E6%8E%92%E5%BA%8F/4602306?fr=aladdin)
2. [Quick Sort](https://baike.baidu.com/item/%E5%BF%AB%E9%80%9F%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95/369842?fromtitle=%E5%BF%AB%E9%80%9F%E6%8E%92%E5%BA%8F&fromid=2084344&fr=aladdin)
3. [Select Sort](https://baike.baidu.com/item/%E9%80%89%E6%8B%A9%E6%8E%92%E5%BA%8F/9762418?fr=aladdin)
4. [Insert Sort](https://baike.baidu.com/item/%E6%8F%92%E5%85%A5%E6%8E%92%E5%BA%8F)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~11 days

Total

5

Last Release

2233d ago

### Community

Maintainers

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

---

Top Contributors

[![haoyuqi](https://avatars.githubusercontent.com/u/61276057?v=4)](https://github.com/haoyuqi "haoyuqi (11 commits)")

---

Tags

composer-packagephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/haoyuqi-sort-function/health.svg)

```
[![Health](https://phpackages.com/badges/haoyuqi-sort-function/health.svg)](https://phpackages.com/packages/haoyuqi-sort-function)
```

###  Alternatives

[silverstripe/crontask

Module for running tasks with a standard cron timeschedule

24754.1k25](/packages/silverstripe-crontask)[shipsaas/laravel-inbox-process

Inbox pattern process implementation for your Laravel Applications

132.1k](/packages/shipsaas-laravel-inbox-process)

PHPackages © 2026

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