sort output; use UTC; and treat empty URI as referring to the repository currently being processed