I am following below document to run my query.
When I want to look into the last modify pages change , by using below query
For XPath Query in crx you can use the following syntax to get the pages ordered by cq:lastmodified.
order by cq:lastModified
Please refer the following documentation for more info.
Please use following query:-
order by jcr:content/@cq:lastModified
I would suggest you to use this tool:-
Top Reference article to read:- http://aemcq5.blogspot.in/2014/11/cq5-querybuilder-simplified.html
I hope this would help you.
Thanks and Regards