sort bucket and file lists
handle diag.log not existing