Added sorting in users