From 54fdcbe9e159a0480d6748e9b91a6848cd37bb11 Mon Sep 17 00:00:00 2001 From: Jan Wielemaker Date: Sun, 5 Jan 2025 12:11:35 +0100 Subject: [PATCH] DOC: sort/4 stable sort example. Suggested by Pierpaolo Bernardi. --- man/builtin.doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/builtin.doc b/man/builtin.doc index 58e48927a1..ab086cc4cd 100644 --- a/man/builtin.doc +++ b/man/builtin.doc @@ -9393,8 +9393,8 @@ keysort(Pairs, Sorted) :- sort(1, @=<, Pairs, Sorted). \end{code} The following example sorts a list of rows, for example resulting from -csv_read_file/2) ascending on the 3th column and descending on the 4th -column: +csv_read_file/2) ascending on the 3rd column and descending on the 4th +column (for sets of rows where the 3rd column is equal): \begin{code} sort(4, @>=, Rows0, Rows1),