diff --git a/inc/class-sort.php b/inc/class-sort.php index ef27330..66fda9b 100644 --- a/inc/class-sort.php +++ b/inc/class-sort.php @@ -792,6 +792,7 @@ final class Sort { ]], 'meta_key' => "ogre-sort_{$relationship['taxonomy']}_{$term_id}", 'orderby' => 'meta_value_num', + 'order' => 'ASC', ]); $posts = array_values(array_unique($posts)); foreach ($posts as $i => $post_id) {