Issue in Order by in N1QL query

The query posted above is only getting executed from application also.