yq/pkg/yqlib/doc/headers/sort.md

6 lines
163 B
Markdown
Raw Normal View History

2021-12-04 02:54:12 +00:00
# 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.