Title: custom taxonomy sorted
Last modified: August 19, 2016

---

# custom taxonomy sorted

 *  [zyrq](https://wordpress.org/support/users/zyrq/)
 * (@zyrq)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/custom-taxonomy-sorted/)
 * I would like to print the terms from a custom taxonomy in a certain order.
    Am
   I correct that get_the_term_list can not ne sorted?
 * If yes, can it be done through
    `$terms = get_the_terms( $post->ID , 'sectors');`
 * Suppose I have a taxonomy Sectors: Alpha, Bravo, Charly, Delta, Global
 * Ideally, if the term list contains Global, I would like it to be the first in
   the list (with permalinks):
    Global, Charly, Delta Instead of Charly, Delta, 
   Global
 * What if I wanted the list in reverse order D,C,B,A?
    Thaks for your help.

The topic ‘custom taxonomy sorted’ is closed to new replies.

## Tags

 * [get_the_terms](https://wordpress.org/support/topic-tag/get_the_terms/)
 * [get_the_term_list](https://wordpress.org/support/topic-tag/get_the_term_list/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [zyrq](https://wordpress.org/support/users/zyrq/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/custom-taxonomy-sorted/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
