You just need to add a minus before the “date” in your order:
List<Transaction> fetched2 = ofy.query(Transaction.class).filter("someproperty", somepropertyvalue).order("-date").list();
This should return you a list of transactions with the newest in the first position.
Cmday source
share