From 3893268f9471e4984f02c0c5e3f4bb5206522bf0 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Mon, 5 Feb 2024 09:40:06 -0500 Subject: [PATCH] sort-link doc update --- docs/src/sorting.md | 2 ++ docs/src/sorting.md.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/src/sorting.md b/docs/src/sorting.md index 68e1f4a02..7d876eda2 100644 --- a/docs/src/sorting.md +++ b/docs/src/sorting.md @@ -214,6 +214,8 @@ a b c ## The sort function by example +The Miller DSL has a [`sort`](reference-dsl-builtin-functions.md#sort) function: + * It returns a sorted copy of an input array or map. * Without second argument, uses Miller's default ordering which is numbers numerically, then strings lexically. * With second which is string, takes sorting flags from it: `"f"` for lexical or `"c"` for case-folded lexical, or `"t"` for natural sort order. An additional `"r"` in this string is for reverse/descending. diff --git a/docs/src/sorting.md.in b/docs/src/sorting.md.in index 28617c697..0d59836e9 100644 --- a/docs/src/sorting.md.in +++ b/docs/src/sorting.md.in @@ -66,6 +66,8 @@ GENMD-EOF ## The sort function by example +The Miller DSL has a [`sort`](reference-dsl-builtin-functions.md#sort) function: + * It returns a sorted copy of an input array or map. * Without second argument, uses Miller's default ordering which is numbers numerically, then strings lexically. * With second which is string, takes sorting flags from it: `"f"` for lexical or `"c"` for case-folded lexical, or `"t"` for natural sort order. An additional `"r"` in this string is for reverse/descending.