Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 477 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 477 Bytes

Description

Views List Sort allows views to be sorted by a list field's allowed values. This is useful if the allowed values are stored in a non-alphabetical order, but you want to present your view results in the same order as your allowed values are stored.

Usage

  1. Enable the module.
  2. Add a "List (text)" sort field to your view.
  3. In the sort field settings, set "Sort by allowed values" to "yes".

Drupal 8 port of https://www.drupal.org/project/views_list_sort.