in reply to sorting an associated array

By reading and understanding the FAQ, of course!