title: Sorting a List in Python by file name
body: <p>I want to sort a List with Strings by name:</p>
  
  <p>I want the following:</p>
  
  <pre><code>a = ["Datei", "Datei-1", "Datei-2", "Datei-3", "Datei-4", "Datei-5", "Datei-6", "Datei-7", "Datei-8", "Datei-9", "Datei-10", "Datei-11", "Datei-12", "Datei-13", "Datei-14", "Datei-15", "Datei-16"]
  </code></pre>
  
  <p>I have got the following:</p>
  
  <pre><code>a = ["Datei", "Datei-1", "Datei-10", "Datei-11", "Datei-12", "Datei-13", "Datei-14", "Datei-15", "Datei-16" , "and so on"]
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>sorted(a)
  </code></pre>