title: Randomize lines of really huge text file
body: <p>I would like to randomize the lines in a file which has over 32 million lines of 10 digit strings. I am aware of how to do it with <code>File.ReadAllLines(...).OrderBy(s =&gt; random.Next()).ToArray()</code> but this is not memory efficient since it will load everything into memory (over 1.4GB) and works only with x64 architecture.</p>
  
  <p>The alternative would be to split it and randomize the shorter files and then merge them but I was wondering if there is a better way to do this.</p>