Comparative Numerical Studies of Ideal Magnetohydrodynamic Instabilities