Question: How to change an array from an asending order to a decending order If you have an array in ascending order and you require it to be in descending order you can use the array_reverse function as below. $terms = array_reverse($terms); Taxonomy: array php