aldanor Fri, 20 Dec 2013 16:51:39 -0800
if (!index.empty) foreach (i; index.sort.reverse) a = a.remove(i);
... which looks a bit awkward.