This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.7-dev by this push:
     new 22cd119160 Remove stale/incorrect absent-key null-sort claim from 
order()-step docs
22cd119160 is described below

commit 22cd1191609fedf8f8401b793fd3ba0bf198284a
Author: Stephen Mallette <[email protected]>
AuthorDate: Tue Jul 21 15:49:43 2026 +0000

    Remove stale/incorrect absent-key null-sort claim from order()-step docs
    
    The order()-step section claimed that an element lacking the property key
    being sorted on is treated as null and placed first (asc) or last (desc).
    That is incorrect: such elements are filtered out of the result. Removed the
    false claim and its demonstrating example, along with the obsolete 'Prior to
    version 3.3.4' NOTE.
    
    Assisted-by: Kiro:claude-opus-4.8
---
 docs/src/reference/the-traversal.asciidoc | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/docs/src/reference/the-traversal.asciidoc 
b/docs/src/reference/the-traversal.asciidoc
index 4eb2332ae2..ea88f03fa1 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -3404,17 +3404,6 @@ 
g.V().groupCount().by(inE().count()).order(local).by(keys, asc) <4>
 
 NOTE: The `values` and `keys` enums are from `Column` which is used to select 
"columns" from a `Map`, `Map.Entry`, or `Path`.
 
-If a property key does not exist, then it will be treated as `null` which will 
sort it first for `Order.asc` and last
-for `Order.desc`.
-
-[gremlin-groovy,modern]
-----
-g.V().order().by("age").elementMap()
-----
-
-NOTE: Prior to version 3.3.4, ordering was defined by `Order.incr` for 
ascending order and `Order.decr` for descending
-order. Those tokens were deprecated and eventually removed in 3.5.0.
-
 *Additional References*
 
 
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#order()++[`order()`],

Reply via email to