Sort by term weight (taxonomy) in Views 3

Created on 29 November 2011, over 13 years ago
Updated 23 June 2025, about 1 month ago

I was a little stuck when trying to sort my items through Views by term weight. I'm posting this in case someone else runs into this.

I couldn't find anything taxonomy related in the sorting criteria of Views. In order to add taxonomy criteria to the sorting criteria you have to add the following relationship: Content: Taxonomy terms on node. Then check the vocabulary of which the terms of the criteria should be based on.

After that, taxonomy related criteria will be available in the sorting criteria, such as Taxonomy term: Weight.

P.S.: Make sure you have actually sorted the terms to a desired order, on their settings page.

💬 Support request
Status

Fixed

Version

3.7

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇰Denmark ressa Copenhagen

    Thanks @knalstaaf! Adding a Taxonomy term relationship in Views under Advanced is still the solution, and works well in Drupal 11, in 2025 :)

Production build 0.71.5 2024