Can anyone have a look at this and see why it is not recognizing OrderByDescending?

Can anyone have a look at this and see why it is not recognizing OrderByDescending? I got this from a tutorial and for some reason it does not work out for me. I am trying to make a high score list that goes chronologically. It has OrderByDescending marked as red as some undefined variable in my script editor.

public class ScoreManager : MonoBehaviour

{
    private ScoreData SD;
   
    public List<Score> scores;
  

    private void Awake()
    {
        scores = new List<Score>();
        SD = new ScoreData();
    }

    public IEnumerable<Score> GetHighScores()

    {
        return SD.scores.OrderByDescending(x => x.Value);
    }

You probably need using System.Linq; added to the top of your script.

Unfortunately, that did not work.

Does your SD have a member called scores? You’ve declared scores in ScoreManager.

Yeah, that is what it was, it is compiling now, thanks. Hopefully, I can get it to work, lol.