title: Sort a Javascript Array by frequency and then filter repeats
body: <p>What is an elegant way to take a javascript array, order by the frequency of the values, and then filter for uniques?</p>
  
  <p>So,</p>
  
  <p><code>["apples", "oranges", "oranges", "oranges", "bananas", "bananas", "oranges"]</code></p>
  
  <p>becomes</p>
  
  <p><code>["oranges, "bananas", "apples"]</code></p>