title: Cannot resolve method 'get' in 'Object' using streams
body: <p><code>items</code> is a <code>List&lt;List&lt;String&gt;&gt;</code>. When I add <code>reversed</code>, I see a compile error <code>Cannot resolve method 'get' in 'Object'</code>. I get this on <code>x.get(0)</code>. Why do I get this and how can I get the reverse order? I would just like to sort the list based on the item name.</p>
  <pre><code>    List&lt;List&lt;String&gt;&gt; items = new ArrayList&lt;&gt;();
   List&lt;String&gt; item2 = new ArrayList&lt;&gt;();
          item2.add(&quot;item2&quot;);
          item2.add(&quot;3&quot;);
          item2.add(&quot;4&quot;);
          List&lt;String&gt; item1 = new ArrayList&lt;&gt;();
          item1.add(&quot;item1&quot;);
          item1.add(&quot;10&quot;);
          item1.add(&quot;15&quot;);
          List&lt;String&gt; item3 = new ArrayList&lt;&gt;();
          item3.add(&quot;item3&quot;);
          item3.add(&quot;17&quot;);
          item3.add(&quot;8&quot;);
          items.add(item1);
          items.add(item2);
          items.add(item3);
  
  items.stream().sorted(Comparator.comparing(x -&gt; x.get(0)).reversed()).collect(Collectors.toList())
  </code></pre>