GitShow/sindresorhus/alpha-sort
sindresorhus

alpha-sort

Alphabetically sort an array of strings

by sindresorhus
Star on GitHubForknpm

JavaScript

40 stars8 forks5 contributorsQuiet · 5y agoSince 2015v5.0.0MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus21 contributions
kevva
kevva2 contributions
papb
papb2 contributions
BendingBender
BendingBender1 contribution

Languages

View on GitHub →
JavaScript91.8%
TypeScript8.2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
JamalLyons
TS imports error.ClosedIssue

Hello, im trying to use Alpha-sort for my TS project. But I'm getting an error: Now sure why I'm getting this when I imported it correctly. The code I'm using AS on is here. Line 2, 47

JamalLyons · 5y ago
papb
Major API changes; add `natural` and `preprocessor` optionsMergedPR

Closes #8 Hello! I decided to take a different approach than the option we discussed in #8. I think you will like it. This PR changes the API to receive an options object of the form instead of using properties such as and . This PR adds a option which treats any sequence of digits atomically. This PR adds a option which is not only much more powerful than the idea but also cleaner in my opinion. I started developing the but I was thinking it was too cumbersome and specific. I have added an example in readme on how the new option can be used to easily obtain the behavior desired by OP in #8.

papb · 5y ago
binyamin
Ignore common words (articles)ClosedIssue

The words "the", "a", and "an" don't usually make a difference in terms of order. (See wikipedia)

binyamin · 5y ago
Structured data for AI agents

Repository: sindresorhus/alpha-sort. Description: Alphabetically sort an array of strings Stars: 40, Forks: 8. Primary language: JavaScript. Languages: JavaScript (91.8%), TypeScript (8.2%). License: MIT. Latest release: v5.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 71%. Top contributors: sindresorhus, kevva, papb, BendingBender.

·@ofershap

Replace github.com with gitshow.dev