Added sorting to reported by device table