make tasks retrieved from the database in a descending order so the latest go first