I've read the documentation on how to do this but it is not working. I am trying to get my query to sort by date newest first, but this is not working:
wrQuery = WorkRequest.query()
wrQuery.order('-date')
wrResult = wrQuery.fetch()
I have also tried ('-WorkRequest.date')
but both results in similar errors:
TypeError: order() expects a Property or query Order; received '-date'