core.sort

Source code: core/sort.seq

core.sort.sorted[S, T](v: generator[T], key: optional[function[S, T]] = None, algorithm: optional[str] = None, reverse: bool = False)

Return a sorted list of the elements in v

extension list[T]

Methods:

sort[S](key: optional[function[S, T]] = None, algorithm: optional[str] = None, reverse: bool = False)