title: Sorting strings with numbers in Bash
body: <p>I've often wanted to sort strings with numbers in them so that, when sorting e.g.  <code>abc_2, abc_1, abc_10</code> the result is <code>abc_1, abc_2, abc_10</code>. Every sort mechanism I've seen sorts as <code>abc_1, abc_10, abc_2</code>, that is character by character from the left. </p>
  
  <p>Is there any efficient way to sort to get the result I want? The idea of looking at every character, determining if it's a numeral, building a substring out of subsequent numerals and sorting on that as a number is too appalling to contemplate in <code>bash</code>.</p>
  
  <p>Has no bearded *nix guru implemented an alternative version of <code>sort</code> with a <code>--sensible_numerical</code> option?</p>