<?php
$a= array('Adam','maths',3,'physics',5,'sports',6);
$b= array('Mike','maths',6,'physics',2,'sports',8);
$c= array('Sam','maths',2,'physics',9,'sports',6);
sort($a, SORT_NUMERIC);
sort($b, SORT_NUMERIC);
sort($c, SORT_NUMERIC);
print_r($a);
print_r($b);
print_r($c);
?>