# extra-sort

> ```sh npm install --save extra-sort # or yarn add extra-sort ```

Latest version **0.2.0** (published 2026-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install extra-sort
pnpm add extra-sort
yarn add extra-sort
bun add extra-sort
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2026-02-11 |
| First published | 2022-09-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | BlackGlory |
| Maintainers | black_glory |

## Links

- npm: https://www.npmjs.com/package/extra-sort
- Repository: https://github.com/BlackGlory/extra-sort
- Homepage: https://github.com/BlackGlory/extra-sort#readme
- Issues: https://github.com/BlackGlory/extra-sort/issues
- npm.io page: https://npm.io/package/extra-sort

## Recent versions

- 0.2.0 (latest) — 2026-02-11
- 0.1.2 — 2023-06-11
- 0.1.1 — 2022-09-10
- 0.1.0 — 2022-09-10

## README

# extra-sort
## Install
```sh
npm install --save extra-sort
# or
yarn add extra-sort
```

## API
### sortNumbersAscending
```ts
function sortNumbersAscending(arr: number[]): void
```

### sortNumbersDescending
```ts
function sortNumbersDescending(arr: number[]): void
```

### sortStringsAscending
```ts
function sortStringsAscending(arr: string[]): void
```

### sortStringsDescending
```ts
function sortStringsDescending(arr: string[]): void
```

### compareNumbersAscending
```ts
function compareNumbersAscending(a: number, b: number): number
```

### compareNumbersDescending
```ts
function compareNumbersDescending(a: number, b: number): number
```

### compareStringsAscending
```ts
function compareStringsAscending(a: string, b: string): number
```

### compareStringsDescending
```ts
function compareStringsDescending(a: string, b: string): number
```

---
_Source: https://npm.io/package/extra-sort · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
