Skip to main content
DrupalABC

Main navigation

  • Home
  • Search
  • Learn Drupal
  • Certifications
  • Drupal Code Finder
User account menu
  • Log in

Breadcrumb

  1. Home

How to sort the values shown in an expose filter when using views?

It is very common to use exposer filters along with the views. By default, Drupal doesn't provide any option to sort out the values shown to a user in an exposed form filter. To overcome this, enable Better Exposed filters  and then you will get an option to sort the options shown in the exposed filter.

Screenshot displaying how sort option can be enabled for exposed filter values.

Tags
Drupal8
Drupal 9
Views
Disqus
DrupalABC

Footer

  • Buy me a coffee
  • Drupal.org profile
  • LinkedIn
Powered by Drupal

Drupal is a registered trademark of Dries Buytaert