PHPackages                             hypejunction/user\_sort - 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. hypejunction/user\_sort

Abandoned → [hypejunction/hypelists](/?search=hypejunction%2Fhypelists)ArchivedElgg-plugin[Utility &amp; Helpers](/categories/utility)

hypejunction/user\_sort
=======================

User list sorting for Elgg

1.1.1(10y ago)0971GPL-2.0PHPPHP &gt;=5.5

Since Feb 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hypeJunction/Elgg-user_sort)[ Packagist](https://packagist.org/packages/hypejunction/user_sort)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-user-sort/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (1)

User List Sorting for Elgg
==========================

[](#user-list-sorting-for-elgg)

[![Elgg 2.0](https://camo.githubusercontent.com/981b94044a74b931be93e2825c7151896de9c8a53ccb960daf01b8fe0d800774/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d322e302e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/981b94044a74b931be93e2825c7151896de9c8a53ccb960daf01b8fe0d800774/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d322e302e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

\*\*\* NO LONGER MAINTAINED \*\*\* The functionality of this plugin has been moved to [hypeLists](https://github.com/hypeJunction/hypeLists)

Features
--------

[](#features)

- Implements generic API and UI for sorting user lists
- By default, provides sorting by Name, Friend count, Registration date, and Last seen
- Extendable via hooks

[![User Sort](https://camo.githubusercontent.com/f04deb9cdc91d61d6040664e3d02dcc8753ddf5d9dc9f3237217fc8fc3b0fb71/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f456c67672d757365725f736f72742f6d61737465722f73637265656e73686f74732f6d656d626572732e706e67 "User Search and Sort Interface")](https://camo.githubusercontent.com/f04deb9cdc91d61d6040664e3d02dcc8753ddf5d9dc9f3237217fc8fc3b0fb71/68747470733a2f2f7261772e6769746875622e636f6d2f687970654a756e6374696f6e2f456c67672d757365725f736f72742f6d61737465722f73637265656e73686f74732f6d656d626572732e706e67)

Usage
-----

[](#usage)

### List users

[](#list-users)

```
// display a sortable list of friends
$options = array(
	'relationship' => 'friend',
	'relationship_guid' => $user->guid,
);

echo elgg_view('lists/users', array(
	'options' => $options,
	'callback' => 'elgg_list_entities_from_relationship',
));
```

### Custom sort fields

[](#custom-sort-fields)

Use `'sort_fields','user'` plugin hook to add new fields to the sort select input. Use `'sort_options', 'user'` to add custom queries to ege\* options.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

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 ~3 days

Total

5

Last Release

3779d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (19 commits)")

---

Tags

pluginelggsortlistUsers

### Embed Badge

![Health badge](/badges/hypejunction-user-sort/health.svg)

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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