Has there been any proposals to add a sort-wrapper, say sortBy,
in cases such as
struct X { double x, y, z; }
auto r = new X[3];
used as
r.sortBy!("x", "y")
sorting r by value of "x" then "y".
If not and anybody is interest I could write one and make PR in
std.algorithm.