title: Finding the 50 cheapest non-matching prices
body: <p>Given an array of prices (such as 341.95) how would I go about finding the 50 cheapest prices?</p>
  
  <p>The trick is some of the prices in the array could match and the list of 50 should be unique prices. For example if there are 6 prices in there for 123.45 I only want one in my final list of 50. There can't be any duplicates. </p>
  
  <p>I was thinking that the best way would be to take that array and suck it into a second array, filtering out any matching numbers but that's easier said than done.</p>