The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
sort.sort
mir
ndslice
sorting
sort
Sort for n-dimensional Series.
Slice
!(
Iterator
,
N
,
kind
)
sort
(Slice!(Iterator, N, kind) slice)
T
[]
sort
(T[] ar)
Series
!(
IndexIterator
,
Iterator
,
N
,
kind
)
sort
(Series!(IndexIterator, Iterator, N, kind) series)
Series
!(
IndexIterator
,
Iterator
,
N
,
kind
)
sort
(Series!(IndexIterator, Iterator, N, kind) series, Slice!SortIndexIterator indexBuffer, Slice!DataIterator dataBuffer)
template
sort
(alias less = "a < b")
@
fmamath
static if
(
__traits(isSame, naryFun!less, less)
)
@
fmamath
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
)
Meta
Source
See Implementation
mir
ndslice
sorting
sort
functions
sort
Sort for n-dimensional Series.