add_filter( 'wp_grid_builder/facet/orderby', function( $orderby, $facet ) { if ( empty( $facet['slug'] ) || 'vocab_chapter' !== $facet['slug'] ) { return $orderby; } return 'facet_value+0 ASC'; }, 10, 2 );