title: Custom sort python
body: <p>I have a question:
  This is list of lists, formed by ElementTree library.</p>
  
  <pre><code>   [['word1', &lt;Element tag at b719a4cc&gt;], ['word2', &lt;Element tag at b719a6cc&gt;], ['word3', &lt;Element tag at b719a78c&gt;], ['word4', &lt;Element tag at b719a82c&gt;]]
  </code></pre>
  
  <p>word1..4 may contain unicode characters i.e (â,ü,ç).</p>
  
  <p><strong>I want to sort this list of lists by my custom alphabet.</strong></p>
  
  <p>I know how to sort by custom alphabet from here
  <a href="https://stackoverflow.com/questions/3037407/sorting-words-in-python">sorting words in python</a></p>
  
  <p>I also know how to sort by key from here <a href="http://wiki.python.org/moin/HowTo/Sorting" rel="nofollow noreferrer">http://wiki.python.org/moin/HowTo/Sorting</a></p>
  
  <p>The problem is that I couldn't find the way how to apply these two method to sort my "list of lists". </p>