diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index d77f4a163b4..f0155eef7f5 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -14543,6 +14543,12 @@ table2-mapping
jsonb, though not for json. The comparison
operators follow the ordering rules for B-tree operations outlined in
.
+ See also for the aggregate
+ function json_agg which aggregates record
+ values as JSON, the aggregate function
+ json_object_agg which aggregates pairs of values
+ into a JSON object, and their jsonb equivalents,
+ jsonb_agg and jsonb_object_agg.
@@ -15998,15 +16004,6 @@ table2-mapping
-
-
- See also for the aggregate
- function json_agg which aggregates record
- values as JSON, the aggregate function
- json_object_agg which aggregates pairs of values
- into a JSON object, and their jsonb equivalents,
- jsonb_agg and jsonb_object_agg.
-