sort.sort

Sort for n-dimensional Series.

  1. Slice!(Iterator, N, kind) sort(Slice!(Iterator, N, kind) slice)
  2. T[] sort(T[] ar)
  3. Series!(IndexIterator, Iterator, N, kind) sort(Series!(IndexIterator, Iterator, N, kind) series)
  4. Series!(IndexIterator, Iterator, N, kind) sort(Series!(IndexIterator, Iterator, N, kind) series, Slice!SortIndexIterator indexBuffer, Slice!DataIterator dataBuffer)
    template sort(alias less = "a < b")
    @optmath
    static if(__traits(isSame, naryFun!less, less))
    @optmath
    Series!(IndexIterator, Iterator, N, kind)
    sort
    (
    IndexIterator
    Iterator
    size_t N
    SliceKind kind
    SortIndexIterator
    DataIterator
    )
    (
    Series!(IndexIterator, Iterator, N, kind) series
    ,
    Slice!SortIndexIterator indexBuffer
    ,
    Slice!DataIterator dataBuffer
    )
  5. alias sort = .sort!(naryFun!less)

Meta