title: Delphi - What object (multidimensional array, etc) will work?
body: <p>I have a need to keep the top ten values in sorted order.  My data structure is:</p>
  
  <pre><code>TMyRecord = record
    Number: Integer;
    Value: Float;
  end
  </code></pre>
  
  <p>I will be calculating a bunch of float values.  I need to keep the top 10 float values.  Each value has an associated number.  I want to add  "sets"... If my float Value is higher than one of the top 10, it should add itself to the list, and then the "old" number 10, now 11, gets discarded.  I should be able to access the list in (float value) sorted order...</p>
  
  <p>It is almost like a TStringList, which maintains sorted order....</p>
  
  <p>Is there anything like this already built into Delphi 2010?</p>