add query to get ddi sets in order of last saved time