https://github.com/iterable-iterator/sorted
:signal_strength: Iterable sorting for JavaScript
https://github.com/iterable-iterator/sorted
Last synced: about 1 year ago
JSON representation
:signal_strength: Iterable sorting for JavaScript
- Host: GitHub
- URL: https://github.com/iterable-iterator/sorted
- Owner: iterable-iterator
- License: agpl-3.0
- Created: 2021-04-30T10:01:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T01:42:52.000Z (about 1 year ago)
- Last Synced: 2025-04-12T02:48:21.197Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://iterable-iterator.github.io/sorted
- Size: 2.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:signal_strength: [@iterable-iterator/sorted](https://iterable-iterator.github.io/sorted)
==
Iterable sorting for JavaScript.
See [docs](https://iterable-iterator.github.io/sorted/index.html).
```js
import {increasing} from '@total-order/primitive';
import {sorted} from '@iterable-iterator/sorted';
sorted(increasing, [3, 1, 2]); // 1 2 3
import {decreasing} from '@total-order/primitive';
import {range} from '@iterable-iterator/range';
sorted(decreasing, range(13)); // 12 11 10 9 8 ...
```
[](https://raw.githubusercontent.com/iterable-iterator/sorted/main/LICENSE)
[](https://www.npmjs.org/package/@iterable-iterator/sorted)
[](https://github.com/iterable-iterator/sorted/actions/workflows/ci.yml?query=branch:main)
[](https://github.com/iterable-iterator/sorted/network/dependencies)
[](https://github.com/iterable-iterator/sorted/issues)
[](https://www.npmjs.org/package/@iterable-iterator/sorted)
[](https://codeclimate.com/github/iterable-iterator/sorted/issues)
[](https://codeclimate.com/github/iterable-iterator/sorted/trends/churn)
[](https://codecov.io/gh/iterable-iterator/sorted)
[](https://codeclimate.com/github/iterable-iterator/sorted/trends/technical_debt)
[](https://iterable-iterator.github.io/sorted/source.html)
[](https://bundlephobia.com/result?p=@iterable-iterator/sorted)