2.1 · Lesson

Ordering Returned Results

Whether you return results as Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. or as Full definition for property (opens in a new tab)A named value stored on a node or a relationship. of nodes, you can specify a property value for the ordering. Strings are ordered by their text values. Boolean true comes before false when ordered. Numeric data (including date and datetime properties) are ordered by their numeric value.

You specify ORDER BY in the RETURN clause where you specify the property for the ordering.