The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
sort.sort
mir
ndslice
sorting
sort
Sort n-dimensional slice.
Slice
!(
Iterator
,
N
,
kind
)
sort
(Slice!(Iterator, N, kind) slice)
template
sort
(alias less = "a < b")
@
fmamath
static if
(
__traits(isSame, naryFun!less, less)
)
@
fmamath
Slice
!(
Iterator
,
N
,
kind
)
sort
(
Iterator
size_t
N
SliceKind
kind
)
(
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)
Meta
Source
See Implementation
mir
ndslice
sorting
sort
functions
sort
Sort n-dimensional slice.