title: Bash shell - Sort a list of words by the second letter?
body: <p>I need to sort a list of words alphabetically by the second letter and I can't seem to figure out a way to do it.</p>
  
  <p>Unsorted:</p>
  
  <pre><code>smokelessly
  toelike
  arsenous
  malabar
  antiperspirant
  hock
  nibbing
  paleographically
  goon
  </code></pre>
  
  <p>Sorted:</p>
  
  <pre><code>malabar
  paleographically
  nibbing
  smokelessly
  antiperspirant
  hock
  toelike
  goon
  arsenous
  </code></pre>
  
  <p>I've read about the <code>sort</code> command but it doesn't seem to have the functionality to let me do this?</p>