title: Custom Sort using terminal on Mac OSX
body: <p><strong>Background</strong></p>
  
  <p>I have a folder with a bunch of files. They are labeled as follows: </p>
  
  <ol>
  <li>YO_c1</li>
  <li>gg_d1</li>
  <li>boom_a5</li>
  <li>head_v4</li>
  <li>shot_o0</li>
  </ol>
  
  <p><strong>Question</strong></p>
  
  <p>I want to sort the files alphabetically, using the letter after the underscore. Is there a way to do this using terminal on MAC OSX?</p>
  
  <p>In the end, it should look like this:</p>
  
  <ol>
  <li>boom_a5</li>
  <li>YO_c1</li>
  <li>gg_d1 </li>
  <li>shot_o0</li>
  <li>head_v4</li>
  </ol>
  
  <p>Thanks!
  these are dummy files and i have about 600 files that i want to sort this way PLEASE HELP</p>