The S&P 500 energy sector has outperformed every other group year-to-date.