added datatimestamp, changed query to sort by modified time