title: in javascript, is there an easy way to sort key-value pairs by the value, and return the key?
body: <p>In javascript, is there an easy way to sort key-value pairs by the value (assume the value is numeric), and return the key? A jQuery way to do this would be useful as well.</p>
  
  <p>(There are a lot of related questions about key-value pairs here, but I can't find one specifically about sorting.)</p>