neo4j/community — Issue #220: Cypher Order By/Return Relationship/Node ID
Author: prehfeldt
Created: 2012-02-09 10:00:31+00:00
State: open

It would be great to to order the result by node/relationship ids, like

START a=node(1) RETURN a ORDER BY a.id DESC
START a=node(1) RETURN a.id

or

START a=node(1) MATCH a-[r]->b RETURN r ORDER BY r.id DESC
START a=node(1) MATCH a-[r]->b RETURN r.id