fixing and accelerating alphabetical sort. closes #3