On Saturday, 15 November 2014 at 00:33:11 UTC, Nordlöw wrote:
Is there a functional variant of std.algorithm.sort, say sorted, that returns a sorted copy of its input use typically asconst y = x.sorted; ? If not any recommendations on its implementation?
`sort` returns a SortedRange, so sort is the function you're looking for.