I am trying to sort an array, but by default I can only get it sorted by the record number.
i.e. the array looks like this for example
array(0=array('id','username'), 1=array('id','username'));
if I try to sort it, it sorts by the 0
and 1
values, I cannot get it to sort into the id
& username
array.
How can i sort the main array acording to the username in the child arrays?