better place for sort
Merge pull request #3 from jsuchome/master

better place for sort