Added sorting to users view