I am not 100% but i remember something similar like this from chads videos,
maybe someone else can correct me.
There are 3 intermolecular forces; Hydrogen bonds, Dipole Dipole and London Dispersion (Vanderwalls). C-C bonds are Nonpolar, so they fall into the category of London Dispersion Forces.
H bonds > DipoleDipole > London in strength. Ionic Bonds beat ALL OF THESE.
As far as why does nacl dissolve in water and methane not, i am not sure, i just woke up cant think straight 😴