title: sort list of lists based on third element and return the two first element
body: <p>How to sort list of lists consisting of <code>[[A,B,2000],[C,D,2008],[F,G,2004]]</code>
  based on last element in each list and return the first two element as in the example above. That is <code>[[A,B],[F,G],[C,D]]</code>.</p>