Thanks feherke for you contribution.
I have tried the array_multisort as follows and the results were not as I expected.
if (count(array_intersect($draw, $numbers)) >= 1) {
$rs = array(($a_row['DrawNo']), join(" , ",array_intersect($draw, $numbers)), count(array_intersect($draw...