We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b144d91 commit 383ce33Copy full SHA for 383ce33
README.md
@@ -5,10 +5,13 @@ Iterable sorting for JavaScript.
5
See [docs](https://iterable-iterator.github.io/sorted/index.html).
6
7
```js
8
+import {increasing} from '@total-order/primitive';
9
+import {sorted} from '@iterable-iterator/sorted';
10
+sorted(increasing, [3, 1, 2]); // 1 2 3
11
+
12
import {decreasing} from '@total-order/primitive';
13
import {range} from '@iterable-iterator/range';
-import {sorted} from '@iterable-iterator/sorted';
-sorted(decreasing, range(13)); 12 11 10 9 8 ...
14
+sorted(decreasing, range(13)); // 12 11 10 9 8 ...
15
```
16
17
[](https://raw.githubusercontent.com/iterable-iterator/sorted/main/LICENSE)
0 commit comments