title: sorting number based on the similar starting digits
body: <p>I have a var allList which contains a list of all the accounts in my tables , I want to order the account ids based on the parent number which the first three digits or four digits, if string have similar starting digits can be next to that,
  I have the following data as the output per now</p>
  <pre><code>101
  202
  303
  404
  10111
  10122
  20211
  20222
  303211
  101112
  101222
  10111221
  42215
  10111223
  3035422525
  1011122121
  
  
  I want the output to be like this 
  
  101
  10111
  10122
  101112
  101222
  10111221
  10111223
  1011122121
  202
  20211
  2022222
  2023221
  303
  303211
  3035422525
  404
  42215
  </code></pre>
  <p>I have tried this code, the accountid is string,can we use thenby or trimstrat</p>
  <pre><code>   allList = allList.OrderBy(x =&gt; x.accountId);
  </code></pre>