title: jq find the max in quoted values
body: <p>Here is my JSON <code>test.json</code>file :</p>
  
  <pre><code>[
    {
      "name": "nodejs",
      "version": "0.1.21",
      "apiVersion": "v1"
    },
    {
      "name": "nodejs",
      "version": "0.1.20",
      "apiVersion": "v1"
    },
    {
      "name": "nodejs",
      "version": "0.1.11",
      "apiVersion": "v1"
    },
    {
      "name": "nodejs",
      "version": "0.1.9",
      "apiVersion": "v1"
    },
    {
      "name": "nodejs",
      "version": "0.1.8",
      "apiVersion": "v1"
    }
  ]
  </code></pre>
  
  <p>When I use <code>max_by</code>, <code>jq</code> return <code>0.1.9</code> instead of <code>0.1.21</code> probably due to the quoted value :</p>
  
  <pre><code>cat test.json | jq 'max_by(.version)'
  {
    "name": "nodejs",
    "version": "0.1.9",
    "apiVersion": "v1"
  }
  </code></pre>
  
  <p>How can I get the element with version=0.1.21 ? </p>