July 20, 2014
I find myself writing this code too much and i'm curious what D idiom I am missing.

given a list of files (or any string) and then maybe I want to sort them and maybe I don't.

    string [] fileList;

    ... fill list

    if (sort) {
July 20, 2014
Sorry, somehow this submitted in the middle, even without the captcha.

Please see the later version.