By reading and understanding the FAQ, of course!
In reply to Re: sorting an associated array by hippo in thread sorting an associated array by torres09