Added sort_by operator

This commit is contained in:
Mike Farah
2021-12-04 13:54:12 +11:00
parent 2f05f7390f
commit e22df34158
7 changed files with 183 additions and 31 deletions
+5
View File
@@ -0,0 +1,5 @@
# Sort
Sorts an array. Use `sort` to sort an array as is, or `sort_by` to sort by a particular subfield.
Note that at this stage, `yq` only sorts scalar fields.