algorithms.heapsort
heap_sort_array(collection: Ptr[T], size: int, keyf: CallableTrait[T, S], T: type, S: type)
heap_sort_inplace(collection: List[T], keyf: CallableTrait[T, S], T: type, S: type)
heap_sort(collection: List[T], keyf: CallableTrait[T, S], T: type, S: type)