Sort an php array by any key