post_title, $b->post_title); }); return $items; } } add_filter('barcodes_products_sort_items_hook', 'barcodes_products_sort_items_hook', 10, 3);