Neither is particularly important - that's why they are still optional features even after 10 years of being available.
HDR is useful if you have a dim or bright room. 4k is nice if you have a very big display.
I more interesting question would be: how much would you pay for each in a TV set? $50 for HDR , $200 for 4k for me...