Added sorting and filtering to admin views.