sindresorhus

sort-on

Sort an array on an object property

by sindresorhus

JavaScript

JavaScript83%
TypeScript17%

Commit activity

Last 12 weeks · 1 commit

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

Active · 1 in progress · Last activity 1mo ago
See all on GitHub →
HitendraSinghRathore

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 · 1y ago
LinusU

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 · 1y 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 · 2y 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 (1y ago). Open PRs: 1, open issues: 1. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, LinusU, kevva, bendrucker, stevemao, Ricardo-Silva91, Richienb, danielstorm.