NIST

JSort

(algorithm)

Definition: An in-place sort that partially orders the array twice with build-heap, once moving lesser items earlier and once in reverse moving greater items later, then uses insertion sort on the nearly-ordered array.

Generalization (I am a kind of ...)
in-place sort.

Aggregate child (... is a part of or used in me.)
build-heap, insertion sort, heap.

See also sort, heapsort, J sort.

Note: The implementation attributes the algorithm to Jason Morrison.

Author: PEB

Implementation

Demonstration and source code (Java).
Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 24 January 2011.
HTML page formatted Mon Jul 16 11:56:53 2012.

Cite this as:
Paul E. Black, "JSort", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 24 January 2011. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/JSort.html

to NIST home page