<?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="Counting sort - Page 14 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=counting_sort&amp;p=13">1.Previous</a><br />
<a accesskey="3" href="page.php?w=counting_sort&amp;p=15">3.Next</a>
</p>
<p>more fine-grained parallel algorithms.</p>

<p>As described, counting sort is not an <a href="page.php?w=in-place_algorithm">in-place algorithm</a>; even disregarding the count array, it needs separate input and output arrays. It is possible to modify the algorithm so that it places the items into sorted order within the same array that was given to it as the input, using only the count array as auxiliary storage; however, the modified in-place version of counting sort is not stable.</p>

<p><big>History</big></p>
<p>Although radix sorting itself dates</p><p>
<a accesskey="1" href="page.php?w=counting_sort&amp;p=13">1.Previous</a><br />
<a accesskey="3" href="page.php?w=counting_sort&amp;p=15">3.Next</a>
</p>

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

</card>
</wml>
