title: C# List sorting with multiple range
body: <p>I have a list containing multiple values in the range [-1, 1] and I want to sort them from 0 to 1 then from 0 to -1.</p>
  
  <blockquote>
    <p>Ex: 0.0, 0.25, 0.9, 1.0, -0.1, -0.24, -0.85</p>
  </blockquote>
  
  <p>How could I do that, maybe using IComparable ? I would like to avoid using LINQ.</p>