How to display one term before other in comma separated list?

I’m displaying post’s custom taxonomy terms as comma separated with this one: $taxonomies = get_object_taxonomies( $post, ‘objects’ ); foreach ( $taxonomies as $taxonomy ) { $tax_name = $taxonomy->labels->singular_name; the_terms( $post->ID, $taxonomy->name, ‘<div class=”e-post__details- item-taxonomy”>’, “, “, ‘</div>’ ); } Terms are ordered alphabetically, by name, but I have one term inside my custom taxonomy that…