How can I sort this array by array keys?
array(4 => 'four',3 => 'three',2 => 'two',1 => 'one',)
Desired result:
array(1 => 'one',2 => 'two',3 => 'three',4 => 'four',)
How can I sort this array by array keys?
array(4 => 'four',3 => 'three',2 => 'two',1 => 'one',)
Desired result:
array(1 => 'one',2 => 'two',3 => 'three',4 => 'four',)