Also, for some more helpful information on this topic (which is a complex and long one), you might want to check these resources out.
Virtual Machine vCPU and vNUMA Rightsizing - Rules of Thumb - VMware VROOM! Blog - VMware Blogs
The latter is an excellent book I'd strongly recommend you add to your library if you're a "VMware person" or that's a function of your job. There are many great sections that go into depth on NUMA and everything surrounding it. And although it's a bit dated, this book on virtualizing SQL server still has great, pertinent information that goes into sockets v cores and how it impacts SQL.