qsort:
try to allocate large memory block (for pointers)
if succeed, try mergesort
if not, use normal qsort
thats because quicksort isn't stable (at least no in its
standard version), but mergesort is.
-----==-
----==-- _
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / mlehmann@hildesheim.sgh-net.de
-=====/_/_//_/\_,_/ /_/\_\ pcg@goof.com
The choice of a GNU generation