Energy ratings matter because they point toward long-term ownership cost, not just technical performance. For a dryer that will run often, efficiency is one of the most useful buying filters available.
If you dry clothes regularly, better efficiency usually makes more sense. If you barely use a dryer, chasing the highest rating is less important than keeping the purchase sensible.