Don't use built-in .sort in std.string.abbrev()

This also makes it CTFE-able. Yay!
Merge pull request #2559 from quickfur/abbrev_sort

Don't use built-in .sort in std.string.abbrev()