I am new to the use of arrays in anything more than a simple context. I have researched and experimented with usort, uasort multisort and ksort even php7 spaceships over the last 2-3 hours to solve this problem - but I keep getting errors and am confused about the best (simplest) approach. I would post everything I have tried - but honestly it would fill the entire page. Undoubtedly, my lack of experience with arrays. I just need help with a simple method to Sort in ascending order numeric order by the second level of a multi level indexed array (as shown below - ie from $input to $output). Thank you
$input = array
(
array(9,1110),
array(10,111),
array(8,100),
array(7,200),
array(6,690),
array(11,222)
);
$output = array
(
array(6,690),
array(7,200),
array(8,100),
array(9,1110),
array(10,111),
array(11,222)
);