This is my array:
<?php $sku = ['HH017','HH018','HH005','HH010','20OZHHTUMBLER', '30OZTUMBLER2','HH006','HH-05']; $sequence = ['HH005','HH010','HH006','20OZHHTUMBLER',...]; print_r(sort($sku, $sequence)); ?>
I want to arrange that data of $sku in $sequence format. I want to show the first 4 numbers from $sku, as mentioned in $sequence and then the remaining numbers will be shown after these 4 numbers.
How can I arrange the sequnce to show my data in this format.