Expose Sort Criteria to Users in Views for Drupal 8, Drupal 9

Last updated September 30, 2020
Site Building8.9.x/9.0.x

Like exposed filters, we can expose sort criteria to the site visitor. Exposing sort criteria gives the visitor more control over the list of content they are viewing. In this tutorial, we'll configure our view of baseball players to allow visitors to sort the list in different ways by adding several exposed sort criteria.