make sort comparison function actually result in a sort
Merge pull request #22 from stuartf/master

Wrong language chosen from long list