Skip to main content

algorithms.qsort

Standard library Module View source
function qsort_array
qsort_array[T: type, S: type](collection: Ptr[T], size: int, key: CallableTrait[([T], S)])
function qsort_inplace
qsort_inplace[T: type, S: type](collection: List[T], key: CallableTrait[([T], S)])
function qsort
qsort[T: type, S: type](collection: List[T], key: CallableTrait[([T], S)]) -> List[T]