Views List Sort

Categories

Component ID

2469141

Component name

Views List Sort

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2308

Component created

Component changed

Component body

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".