title: Sorting Java List by items in sublist
body: <p>I have a list:</p>
  
  <pre><code>List&lt;List&lt;Item&gt;&gt; = [["a", "one", 3], ["b", "one", 2], ["c", "one", 4], ["d", "two", 2],["e", "one", 1], ["f", "two", 1]]
  </code></pre>
  
  <p>And I would like to sort it by second value in subarray, if there is two a like then it should sort by third value and if it finds two a like from there then it should sort them by first element. 
  So final result should look like that:</p>
  
  <pre><code>[["e", "one", 1], ["b", "one", 2], ["a", "one", 3], ["c", "one", 4], ["f", "two", 1], ["d", "two", 2]]
  </code></pre>
  
  <p>Can someone show me some good way to do it?</p>
  
  <p>Thanks!</p>