Wordpress: How to change the order of taxonomy lists using facetwp
<p>I want to change the order of my list when display using facetWP.
I have attached the image so that you could understand what i require.</p>

<p><a href="https://i.stack.imgur.com/4gDrf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4gDrf.png" alt="enter image description here"></a></p>

<p>Here is the query</p>

<pre><code>$sql = "SELECT f.facet_value, f.facet_display_value, f.term_id, f.parent_id, f.depth, 0 AS counter FROM {$wpdb-&gt;prefix}facetwp_index f WHERE f.facet_name = '{$facet['name']}' AND post_id IN ($raw_post_ids) GROUP BY f.facet_value ORDER BY $orderby LIMIT $limit";
</code></pre>

<p>Thanks in advance.</p>