Use WITH keyword befor ORDER BY to sort the results before collect:

Beware that the WITH part needs to contain all variables that are used later in the query (actor,role,movies in this case).

MATCH (actor:Person {name:"Meg Ryan"})-[role:ACTED_IN]-&gt;(movies)
WITH actor,role,movies 
ORDER BY movies.released DESC
RETURN actor, collect({roles: role.roles, movies: movies}) as movies


Similar example is given in the documentation.

Order by collection member in Neo4j
I am redoing some of my older blogs and I noticed with the new themes most of them take advantage of featured images which is fine.  The problem is a lot of my older posts that was never set either because I did not use it or because it didn't exist.

Now I know of the featured thumbnail plugin the regenerates your posts and it grabs the images from your post and makes a thumbnail which is great and that works, but I have some posts where the images were not stored in the uploads folder where the plugin seems to be looking and those posts fail.  

Any thoughts on how I can get these featured images without going through every single post manually?
