On 7/30/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote: > How would you implement that? It could be a nice exercise! :) Here's a super-inefficient way to do it: auto y = to!(size_t[])(pipe!(map!(y => y[1 .. $]))(x).array); sort(y); auto z = map!(y => "_" ~ to!string(y))(y); Heheh, memory waste galore.