Wikis›01. Searching and Sorting›9. Partial, Online, and Adaptive SortingSmoothsort Adaptive Heap SortSort in place with a heap-like structure that keeps worst-case O(n log n) time while approaching linear time on nearly sorted input.
Wikis›01. Searching and Sorting›6. Elementary SortingSmoothsortAn adaptive in-place comparison sort based on Leonardo heaps.