title: nth item of hashmap
body: <pre><code>HashMap selections = new HashMap&lt;Integer, Float&gt;();
  </code></pre>
  
  <p>How can i get the Integer key of the 3rd smaller value of Float in all HashMap?</p>
  
  <p><strong>Edit</strong>
  im using the HashMap for this</p>
  
  <pre><code>for (InflatedRunner runner : prices.getRunners()) {
         for (InflatedMarketPrices.InflatedPrice price : runner.getLayPrices()) {
             if (price.getDepth() == 1) {
               selections.put(new Integer(runner.getSelectionId()), new Float(price.getPrice()));
             }
           }                    
  
  }
  </code></pre>
  
  <p>i need the runner of the 3rd smaller  price with depth 1</p>
  
  <p>maybe i should implement this in another way?</p>