Views Arbitrary Sort

Categories

Component ID

2603374

Component name

Views Arbitrary Sort

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Description

Allows sorting of Views results in an arbitrary order based on a list of specific values defined within the View.

The sorting values can be matched using "Begins with", "Contains" or "Exact" and can be matched case sensitively if required.

They can be sorted in ascending or descending order. Any non-matching results will be sorted to the top or bottom accordingly and then further ordered by any other defined sorting methods.

Usage

  1. Edit your view and add a new sort from the "Arbitrary Sort" group.
  2. Configure the match type and case sensitivity settings for the sort, then enter the values you wish to sort, in the order you want them sorted, separated by new lines.
  3. Save the view!