title: Convert a series of values in to a relative 1-10 scale
body: <p>Let's say I have a few sets of values like this:</p>
  
  <p>Height (in inches):</p>
  
  <pre><code>John 72.3
  Peter 64.5
  Frank 78.5
  Susan 65.8
  Judy 69.0
  Mary 72.7
  </code></pre>
  
  <p>Weight (in pounds):</p>
  
  <pre><code>John 212
  Peter 232
  Frank 140
  Susan 355
  Judy 105
  Mary 76
  </code></pre>
  
  <p>Age (in seconds since birth)</p>
  
  <pre><code>John 662256000
  Peter 1292976000
  Frank 977616000
  Susan 1229904000
  Judy 599184000
  Mary 283824000
  </code></pre>
  
  <p>What's the best way to convert these values into a 1-10 scale relative to the other values?</p>
  
  <p>I want to be able to say John is a 6/10 on height, 10/10 on height, and a 3/10 on age (made up values) for example.</p>
  
  <p>One issue I'd like to be able to avoid is having extreme values on either side distort the system too much. A very heavy or tall person shouldn't distort the entire scale.</p>