fix sorting
Merge pull request #35 from sym3tri/fix-soring

fix sorting