EgretDoc
Back to Home
Location:system/sort

Module

Module documentation.

modulesort
@briefSorting
@detailsProvides an in-place ascending sort for integer vectors.
@see
  • index.html

Classes

Classes and inheritance.

Functions

Free functions and class methods.

functionsort::ints
Signaturefunc ints(v: collections.Vector<Int>) -> Void
func ints(v: collections.Vector<Int>) -> Void {
    let n: Int = v.len();
    if n <= 1 {
@briefSort an integer vector
@param
  • vcollections.Vector<Int> to sort (modified in place)
@returnVoid
@warningPoor performance for large inputs.

Variables

Class fields (var).