C# high score in game : <p>Bassicaly I'm stucked with displaying high scores via listbox by discending order(like 500 to 1). Here is my code, keep in mind that label1 is score in the game, so if anyone may help me please? </p>

<pre><code>{
public partial class Form3 : Form
{
    public Form3()

    {
        InitializeComponent();
    }




    private void Form3_Load(object sender, EventArgs e)
    {
        label1.Text = Form2.passingText;

        StreamWriter q = new StreamWriter("C:\\Users\\BS\\Desktop\\tex.txt", true);
        q.WriteLine(label1.Text);
        q.Close();


        StreamReader sr = new StreamReader("C:\\Users\\BS\\Desktop\\tex.txt");
        string g = sr.ReadLine();
        while (g != null)
        {
            listBox1.Items.Add(g);

            g = sr.ReadLine();
        }
        sr.Close();
    }

    private void button1_Click(object sender, EventArgs e)
    {
        this.Close();
    }
}
</code></pre>

<p>}</p>
