heapsort
Google
Sort algorithms home
JavaCFORTRANPASCAL
sort heapsort

Also defined at: http://www.nist.gov/dads/HTML/heapSort.html .

Inherits from sort

A sort algorithm which builds a heap, then repeatedly extracts the maximum item. Run time is O(n log n). [National Institute of Standards and Technology]

Demonstrations:
Implementations and sample code:
See also heapsort variants: adaptive heap sort, introspective sort
Author: Nikita Ogievetsky, © Cogitech, Inc. 2002