So I have this array
$employee_salary = array("Peter"=>35000, "Ben"=>25000, "Joe"=>48000);
and I need to sort the array : 1) by value, ascending order 2) by key, ascending order.
I am not allowed to use the asort and ksort functions, so I have no idea how else to do it. Any ideas please? Thank you!