
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@cablanchard/koelle-sort
Advanced tools
Also known as alphanum sort
alphanum sort is designed to produce more sensible results than ascii sort for certain use cases
| ASCII Sort | Koelle's Alphanum Sort |
|---|---|
| z1.doc | z1.doc |
| z10.doc | z2.doc |
| z100.doc | z3.doc |
| z101.doc | z4.doc |
| z102.doc | z5.doc |
| z11.doc | z6.doc |
| z12.doc | z7.doc |
| z13.doc | z8.doc |
| z14.doc | z9.doc |
| z15.doc | z10.doc |
| z16.doc | z11.doc |
| z17.doc | z12.doc |
| z18.doc | z13.doc |
| z19.doc | z14.doc |
| z2.doc | z15.doc |
| z20.doc | z16.doc |
| z3.doc | z17.doc |
| z4.doc | z18.doc |
| z5.doc | z19.doc |
| z6.doc | z20.doc |
| z7.doc | z100.doc |
| z8.doc | z101.doc |
| z9.doc | z102.doc |
npm install @cablanchard/koelle-sort
const { alphanum } = require("@cablanchard/koelle-sort");
const sorted = [
"file10.txt",
"file1.txt",
"file2.txt",
].sort(alphanum);
/**
* [
* "file1.txt",
* "file2.txt",
* "file10.txt",
* ]
*/
Based on the alphanum algorithm developed by Dave Koelle
This implementation is MIT licensed
FAQs
koelle-sort - also known as alphanum sort
We found that @cablanchard/koelle-sort demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies