Old-line energy is the best performing sector so far this year and could continue to win

A maze of crude oil pipes and valves is pictured during a tour by the Department of Energy at the Strategic Petroleum Reserve in Freeport, Texas, June 9, 2016.
Richard Carson | Reuters

The stock market has struggled this month, but the old-line energy stocks that drill for oil and gas have made double digit gains and could continue to outperform in 2022, analysts say.

More In Investing trends

CNBC ProThese stocks are so cheap, they're good buys even if earnings take a hit, Trivariate Research says
CNBC ProThe grand 'work from anywhere' experiment got a few things wrong. Here's how companies are fixing it.
CNBC ProStocks keep hitting new lows. Here's how to protect your portfolio and generate some returns