title: How do I sort a file that has a very long list of items?
body: <p>I have a text file that has a very long list of items. So I want to sort them alphabetically but I do not want to load all the file into the memory (RAM).</p>
  
  <p>I tried loading all the contents of the file to an array and sort them just like I do normally. But the system complains that there are no much memory!!</p>
  
  <p>Thanks,
  Mohammad</p>