title: How to sort a list of binary strings
body: <p>let's say for example I have a list of binary codes such as this:</p>
  
  <pre><code>a=['100','10','01010','000','0001','10001']
  </code></pre>
  
  <p>I want the sorted list to be:</p>
  
  <pre><code>a=['000','0001','10','100','01010','10001']
  </code></pre>