title: How do i arrange the contents of a file in numerical order?
body: <p>I've got these lines of code which reads a file and supposed to put the last digits on the line in number order: </p>
  
  <pre><code>string[] lines = File.ReadAllLines(@"g:\\myfile.DAT");
  var result = lines.AsParallel()
      .OrderBy(s =&gt; s.Split('&gt;').Last())
      .ToList();
  result.ForEach(Console.WriteLine);
  </code></pre>
  
  <p>But its got decimal places in the answer. It works (sort of) but its putting <code>11</code> before <code>3.75</code>. What have I done wrong?</p>