<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="External sorting - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=external_sorting&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=external_sorting&amp;p=4">3.Next</a>
</p>
<p>sort-merge strategy.  In the sorting phase, chunks of data small enough to fit in main memory are read, sorted, and written out to a temporary file.  In the merge phase, the sorted subfiles are combined into a single larger file.</p>

<p><big> Model </big></p>
<p>External sorting algorithms can be analyzed in the <a href="page.php?w=external_memory_model">external memory model</a>. In this model, a <a href="page.php?w=Cache_%28computing%29">cache</a> or internal memory of size  and an unbounded external memory are divided into <a href="page.php?w=Blocking_%28data_storage%29">blocks</a></p><p>
<a accesskey="1" href="page.php?w=external_sorting&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=external_sorting&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
