map-filter-reduce
Advanced tools
Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "map-filter-reduce", | ||
"description": "", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"homepage": "https://github.com/dominictarr/map-filter-reduce", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -230,2 +230,13 @@ # map-filter-reduce | ||
### sort | ||
you can also sort the output of a some paths: | ||
``` js | ||
{$sort: [['foo', 'bar'], ['baz']]} | ||
``` | ||
the output is ordered by the value at the path `foo.bar`, then if two items are equal | ||
at that value, then they are ordered by `baz`. | ||
## License | ||
@@ -232,0 +243,0 @@ |
35914
245