This module allows you to sort views by the values of a list field, preserving the order in which those values were defined. This is helpful when the desired order is not alphabetical.
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
- Enable the module.
- Add a "List (text)" sort field to your view.
- In the sort field settings, set "Sort by allowed values" to "yes".
Depends on
Dependencies of the latest stable release
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 8.x-1.6 | Stable | 9–11 | Apr 24, 2025 |