logicchains/MagicForest — pull request #2 by Safety0ff (2014-06-21 01:15:13+00:00)
Title: D - use std.algorithm.sort stable sort

Using this outperforms your quicksort as well as std.algorithm.sort unstable sort.
I find this to be often the case, ymmv.