title: Sort a list with lowercase first
body: <p>I have a file with names and I want to sort them alphabetically but lowercase must be before uppercase.</p>
  
  <p>So if I have for example:</p>
  
  <pre><code>Any
  ANA
  Ana
  </code></pre>
  
  <p>It should be sorted as:</p>
  
  <pre><code>Ana
  Any
  ANA
  </code></pre>
  
  <p>If possible I'd like to achieve this with sort, does it have any options for that?</p>
  
  <p>My current way of sorting: </p>
  
  <pre><code>cut -d";" -f2-3 $1 | paste - $1 | sort | cut -f2- &gt;&gt; sorted.txt
  </code></pre>
  
  <p>The line in the file given in the argument <code>$1</code> looks like this:</p>
  
  <pre><code>12345;Name;Lastname
  </code></pre>