From 2cb5a4e505cc2f541c92775077809145894d5ea4 Mon Sep 17 00:00:00 2001 From: Javier Quinones Date: Mon, 17 Aug 2026 10:47:33 -0500 Subject: [PATCH] Sort json objects by _name_ field --- tag_sorter.jq | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tag_sorter.jq diff --git a/tag_sorter.jq b/tag_sorter.jq new file mode 100644 index 0000000..c4b56b4 --- /dev/null +++ b/tag_sorter.jq @@ -0,0 +1,5 @@ +walk( + if type == "object" and has("tags") then + .tags |= sort_by(.name) +end +) \ No newline at end of file