I love them both (Ed a bit more) Sam's voice so is velvety and he has more vocal ability, but Ed's voice is more versatile, like he can hit his falsettos effortlessly and he has a grit in his voice at times, plus he can rap.
I prefer Ed's voice, although if we'll really talk about which is "better" then it's Sam's because of how unique it is.
Both of their albums are my top favorites this year.