title: Sorting alphabetically in Bash
body: <p>I have a file with the following data in it:</p>
  
  <pre><code>adam
  humanities
  
  castiel
  sciences
  
  antwon
  sciences
  
  dmitri
  informatics
  
  zoe
  mathematics
  
  bernard
  economics
  </code></pre>
  
  <p>I want to be able to sort the file w.r.t the names of the people so that the output looks like so:</p>
  
  <pre><code>adam
  humanities
  
  antwon
  sciences
  
  bernard
  economics
  
  castiel
  sciences
  
  dmitri
  informatics
  
  zoe
  mathematics
  </code></pre>
  
  <p><code>cat filename | sort</code> sorts all the data including the subjects. How do I sort it with the names of people?</p>