The Sharpe Ratio and Sortino Ratio both measure risk-adjusted returns, but they define “risk” differently. The Sharpe Ratio divides excess return by total standard deviation, penalizing all volatility equally whether it's a gain or a loss. The Sortino Ratio instead divides excess return only by downside deviation, ignoring upside volatility entirely and focusing purely on the risk investors actually fear — losses.
Investors compare the two because a strategy that looks efficient by the Sharpe Ratio can look considerably less attractive under the Sortino Ratio if much of its volatility comes from occasional sharp downside moves rather than balanced two-way swings.