Is there a functional variant of std.algorithm.sort, say sorted, that returns a sorted copy of its input use typically as

    const y = x.sorted;

?

If not any recommendations on its implementation?

Reply via email to