Archive
to sort associative arrays, use asort, arsort, ksort, and krsort
use the function print_r for a bare bones display of array contents
%04d will write a zero-padded 4 digit integer …