title: Can I get the argmax in jq?
body: <p>The following dataset contains movies. I want to find the longest title with <code>jq</code>. What I got so far:</p>
  
  <pre><code>$ wget https://raw.githubusercontent.com/prust/wikipedia-movie-data/master/movies.json
  $ cat movies.json | jq '[.[] | .title | length] | max'
  </code></pre>
  
  <p>So the longest title has 110 characters. The following query the shows it to me:</p>
  
  <pre><code>$ cat movies.json | jq '.[] | .title | select(length==110)' 
  "Cornell-Columbia-University of Pennsylvania Boat Race at Ithaca, N.Y., Showing Lehigh Valley Observation Train"
  </code></pre>
  
  <p>Is it possible to directly get the argmax?</p>
  
  <h2>Background</h2>
  
  <p>I am currently trying what I can do with <code>jq</code> for exploratory data analysis. Usually, I would use Pandas for most of it. However, I recently had an example where jq was just super handy. So I want to learn more about it to see how far jq can go / where it is easier to use than Pandas.</p>