Sorting algorithms/Heapsort: Difference between revisions
m
→{{header|AppleScript}}: Minor comment correction.
(Added AppleScript implementation.) |
m (→{{header|AppleScript}}: Minor comment correction.) |
||
Line 377:
<lang applescript>-- In-place binary heap sort.
-- Heap sort algorithm: J.
on heapSort(theList, l, r) -- Sort items l thru r of theList.
script o
|