Added sorting to UID-based reports