You can use ORDER BY to sort the output by a node property. Its usage is the same as SQL.
Here is an example of sorting movies by their release date in descending order.
MATCH (n:Movie) RETURN n.title, n.released ORDER BY n.released DESC;
MATCH (n:Movie)
RETURN n.title, n.released
ORDER BY n.released DESC;