title: Python Sorted By Name
body: <p>I tried to sort using sorted</p>
  
  <pre><code>dir =["A1","A2","A10","A3"]
  sorted(dir)
  </code></pre>
  
  <p>My expected array is</p>
  
  <pre><code>["A1","A2","A3","A10"]
  </code></pre>
  
  <p>but actual result is</p>
  
  <pre><code>["A1", "A10", "A2", "A3"]
  </code></pre>
  
  <p>How to sort array by name in python ?</p>