GitShow/sindresorhus/sort-on
sindresorhus

sort-on

Sort an array on an object property

by sindresorhus
Star on GitHubForknpm

JavaScript

200 stars14 forks10 contributorsQuiet · 9mo agoSince 2015v7.0.0MIT

Meet the team

See all 10 on GitHub →
sindresorhus
sindresorhus40 contributions
LinusU
LinusU7 contributions
kevva
kevva3 contributions
bendrucker
bendrucker2 contributions
stevemao
stevemao2 contributions
Ricardo-Silva91
Ricardo-Silva911 contribution
Richienb
Richienb1 contribution
danielstorm
danielstorm1 contribution

Languages

View on GitHub →
JavaScript83%
TypeScript17%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 9mo ago
See all on GitHub →
HitendraSinghRathore
updated sorting issues with string numbers and booleanOpenPR

Fixed a number of issues present in the code When sorting a boolean field true > false which should be represented in sort on There are cases when comparing "2" with "10" which sorted the values incorrectly.

HitendraSinghRathore · 10mo ago
mvila
Add the ability to sort boolean valuesOpenIssue

Currently, invoking: Is returning: It would be nice to return the following instead: Cheers! 😄

mvila · 1y ago

Recent fixes

View closed PRs →
LinusU
Require Node.js 20MergedPR

Which allows updating dot-prop to v10

LinusU · 9mo ago
LinusU
Fix sorting of bigint zeroesMergedPR

Before this change, was always sorted last, both when using ascending and descending sorting. This patch works gracefully on environments without support for , since we are only using and comparing to a string, not special BigInt operators...

LinusU · 10mo ago
muuvmuuv
Update dot-propClosedIssue

dot-prop v9 is released and just noticed it because I had two version in my esbuild 8 and 9.

muuvmuuv · 1y ago
Structured data for AI agents

Repository: sindresorhus/sort-on. Description: Sort an array on an object property Stars: 200, Forks: 14. Primary language: JavaScript. Languages: JavaScript (83%), TypeScript (17%). License: MIT. Latest release: v7.0.0 (9mo ago). Open PRs: 1, open issues: 1. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, LinusU, kevva, bendrucker, stevemao, Ricardo-Silva91, Richienb, danielstorm.

·@ofershap

Replace github.com with gitshow.dev