Is there a way to specify where to place null
values in a sorted list?
I have a list I'd like to sort in descending order. I want nodes with date=null
to be included, just at the end of the list.
Looking for something like this in cypher:
ORDER BY date DESC NULLS LAST
From Neo4j:
When sorting the result set, NULL will always come at the end of the result set for ascending sorting, and first when doing descending sort.
http://neo4j.com/docs/developer-manual/current/#order-by-ordering-null