2.1 · Lesson

Ordering Returned Results

Whether you return results as nodesA vertex in a graph. In a property graph it can carry labels and properties. or as propertiesA 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.