title: Sort float numbers List from small to large
body: <p>I want to sort float numbers List from small to large. I tried to use the array.Sort () method but it doesn't work.
  Below is my code.</p>
  <pre><code> List&lt;float&gt; array = new List&lt;float&gt;();
        array.Add(x);
        listBox1.Items.Add(x);
  </code></pre>