title: ignore characters during .sort python
body: <p>I need some help on sorting 2 lists..one with file listings and one with directory listings.
  These lists are generated through another part in a much larger script that I cannot put on here.</p>
  
  <pre><code>filelist = ['EN088_EFH_030_comp_v011.mov', 'EN086_EHA_010_comp_v031.mov', 'EN083_WDA_400_comp_v021.mov', 'EN086_EHA_020_comp_v010.mov', 'EN083_WDA_450_comp_v012.mov']
  
  folderlist = ['[EN086_EHA_010_comp_v031]', '[EN083_WDA_400_comp_v021]', '[EN086_EHA_020_comp_v010]', '[EN083_WDA_450_comp_v012]']
  </code></pre>
  
  <p>using .sort I can get the data to output like this.</p>
  
  <pre><code>[CB083_WDA_400_comp_v021]
  [CB083_WDA_450_comp_v012]
  [CB086_EHA_010_comp_v031]
  [CB086_EHA_020_comp_v010]
  CB083_WDA_400_comp_v021.mov
  CB083_WDA_450_comp_v012.mov
  CB086_EHA_010_comp_v031.mov
  CB086_EHA_020_comp_v010.mov
  CB088_EFH_030_comp_v011.mov
  </code></pre>
  
  <p>But I need it to output like this</p>
  
  <pre><code>[CB083_WDA_400_comp_v021]
  CB083_WDA_400_comp_v021.mov
  [CB083_WDA_450_comp_v012]
  CB083_WDA_450_comp_v012.mov
  [CB086_EHA_010_comp_v031]
  CB086_EHA_010_comp_v031.mov
  [CB086_EHA_020_comp_v010]
  CB086_EHA_020_comp_v010.mov
  CB088_EFH_030_comp_v011.mov
  </code></pre>
  
  <p>How can I go about sorting it but ignoring the [] during the sort?<br>
  Or what would I do to get the second output?<br>
  I'm kind of stumped on what I should do.
  <br>
  Any tips or suggestions?</p>